build: conditionally build llvm bpf toolchain by default

Unless another toolchain is present (or selected), build the bpf toolchain
whenever a package is selected that needs it.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 6605e45676)
This commit is contained in:
Felix Fietkau
2025-02-07 11:11:42 +01:00
parent 7609571dcd
commit 8cd50a6aec
3 changed files with 9 additions and 8 deletions

View File

@@ -40,6 +40,7 @@ define Package/unetd/config
bool "VXLAN support"
depends on PACKAGE_unetd
depends on HAS_BPF_TOOLCHAIN
select NEED_BPF_TOOLCHAIN
default y
endef