projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b92a9f6
)
llvm-bpf: use SOURCE_DATE_EPOCH for generated tarball
author
Felix Fietkau
<nbd@nbd.name>
Fri, 26 Nov 2021 10:24:39 +0000
(11:24 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 26 Nov 2021 10:37:13 +0000
(11:37 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/llvm-bpf/Makefile
patch
|
blob
|
history
diff --git
a/target/llvm-bpf/Makefile
b/target/llvm-bpf/Makefile
index c9ada017e68c42fb038375cad5160cd9d0712678..0e8a8826e6700bd1b99ec88027b0178b7ec33c76 100644
(file)
--- a/
target/llvm-bpf/Makefile
+++ b/
target/llvm-bpf/Makefile
@@
-17,6
+17,7
@@
LLVM_TAR := $(BIN_DIR)/$(LLVM_BPF_PREFIX).tar.xz
$(LLVM_TAR): $(HOST_STAMP_INSTALLED)
tar -C $(STAGING_DIR_HOST) \
-I '$(STAGING_DIR_HOST)/bin/xz -7e -T$(if $(filter 1,$(NPROC)),2,0)' \
+ $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \
-cf $@.tmp llvm-bpf $(LLVM_BPF_PREFIX)
mv $@.tmp $@