[openwrt/openwrt] build: fix building llvm tarball

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 10 13:11:51 PST 2025


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/04570f5ee2dfe6609c22d2d21678b14cd3314309

commit 04570f5ee2dfe6609c22d2d21678b14cd3314309
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Feb 10 22:09:26 2025 +0100

    build: fix building llvm tarball
    
    Add missing select NEED_BPF_TOOLCHAIN in order to ensure that the toolchain
    actually gets built.
    
    Fixes: https://github.com/openwrt/openwrt/issues/17926
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/sdk/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/sdk/Config.in b/target/sdk/Config.in
index 1984e242e7..9fee5abdc3 100644
--- a/target/sdk/Config.in
+++ b/target/sdk/Config.in
@@ -10,6 +10,7 @@ config SDK
 config SDK_LLVM_BPF
 	bool "Build the LLVM-BPF toolchain tarball"
 	depends on BPF_TOOLCHAIN_BUILD_LLVM
+	select NEED_BPF_TOOLCHAIN
 	default BUILDBOT
 	help
 	  This is a tarball of the precompiled LLVM toolchain suitable




More information about the lede-commits mailing list