llvm-bpf: use SOURCE_DATE_EPOCH for generated tarball
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
b92a9f607b
commit
e73855b5d1
|
@ -17,6 +17,7 @@ LLVM_TAR := $(BIN_DIR)/$(LLVM_BPF_PREFIX).tar.xz
|
||||||
$(LLVM_TAR): $(HOST_STAMP_INSTALLED)
|
$(LLVM_TAR): $(HOST_STAMP_INSTALLED)
|
||||||
tar -C $(STAGING_DIR_HOST) \
|
tar -C $(STAGING_DIR_HOST) \
|
||||||
-I '$(STAGING_DIR_HOST)/bin/xz -7e -T$(if $(filter 1,$(NPROC)),2,0)' \
|
-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)
|
-cf $@.tmp llvm-bpf $(LLVM_BPF_PREFIX)
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue