aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-11-26 11:25:40 +0100
committerFelix Fietkau <nbd@nbd.name>2021-11-26 11:37:19 +0100
commitfb6c34d355e19152550a8347cde13e1c359f1aca (patch)
tree83ab1939c045f29c04edb199e14f9e7d47267d6f /target
parente73855b5d1f11751a286cf0029a67a55c853d804 (diff)
downloadupstream-fb6c34d355e19152550a8347cde13e1c359f1aca.tar.gz
upstream-fb6c34d355e19152550a8347cde13e1c359f1aca.tar.bz2
upstream-fb6c34d355e19152550a8347cde13e1c359f1aca.zip
llvm-bpf: fix rebuild check for generating tarball
Check the version file, as it will be regenerated on rebuild Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target')
-rw-r--r--target/llvm-bpf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/llvm-bpf/Makefile b/target/llvm-bpf/Makefile
index 0e8a8826e6..6cadf693ef 100644
--- a/target/llvm-bpf/Makefile
+++ b/target/llvm-bpf/Makefile
@@ -14,7 +14,7 @@ LLVM_VERSION := $(shell cat $(STAGING_DIR_HOST)/llvm-bpf/.llvm-version)
LLVM_BPF_PREFIX := llvm-bpf-$(LLVM_VERSION).$(HOST_OS)-$(HOST_ARCH)
LLVM_TAR := $(BIN_DIR)/$(LLVM_BPF_PREFIX).tar.xz
-$(LLVM_TAR): $(HOST_STAMP_INSTALLED)
+$(LLVM_TAR): $(STAGING_DIR_HOST)/llvm-bpf/.llvm-version
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)") \