[openwrt/openwrt] tools: include the value of CONFIG_SDK_LLVM_BPF in the stampfile
LEDE Commits
lede-commits at lists.infradead.org
Sun Nov 21 04:47:52 PST 2021
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/848499c1cf2c55adf8f3e0e355caa07234803cbe
commit 848499c1cf2c55adf8f3e0e355caa07234803cbe
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Nov 21 12:13:52 2021 +0100
tools: include the value of CONFIG_SDK_LLVM_BPF in the stampfile
tools/llvm-bpf needs to be checked if the value changes
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
tools/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 686d5294d3..82a67a00dd 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -156,7 +156,8 @@ $(curdir)/ := .config prereq
$(curdir)/install: $(curdir)/compile
-tools_enabled = $(foreach tool,$(sort $(tools-y) $(tools-)),$(if $(filter $(tool),$(tools-y)),y,n))
+tools_config = CONFIG_SDK_LLVM_BPF
+tools_enabled = $(foreach tool,$(sort $(tools-y) $(tools-)),$(if $(filter $(tool),$(tools-y)),y,n))$(foreach c,$(tools_config),$(if $($(c)),y,n))
$(eval $(call stampfile,$(curdir),tools,compile,,_$(subst $(space),,$(tools_enabled)),$(STAGING_DIR_HOST)))
$(eval $(call stampfile,$(curdir),tools,check,$(TMP_DIR)/.build,,$(STAGING_DIR_HOST)))
$(eval $(call subdir,$(curdir)))
More information about the lede-commits
mailing list