diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-11-26 11:24:39 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-11-26 11:37:13 +0100 |
commit | e73855b5d1f11751a286cf0029a67a55c853d804 (patch) | |
tree | 69bde55d3615695d7e227c257968454672ffb556 /target/llvm-bpf | |
parent | b92a9f607b9af049c8e91a961947b0b10ea253a0 (diff) | |
download | openwrt-e73855b5d1f11751a286cf0029a67a55c853d804.tar.gz openwrt-e73855b5d1f11751a286cf0029a67a55c853d804.tar.bz2 openwrt-e73855b5d1f11751a286cf0029a67a55c853d804.zip |
llvm-bpf: use SOURCE_DATE_EPOCH for generated tarball
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/llvm-bpf')
-rw-r--r-- | target/llvm-bpf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/llvm-bpf/Makefile b/target/llvm-bpf/Makefile index c9ada017e6..0e8a8826e6 100644 --- 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 $@ |