[openwrt/openwrt] bpftool: turn off libbfd feature in host build

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 9 02:21:11 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3d8d81883fb2e607590bcb523587e37e1485b3b8

commit 3d8d81883fb2e607590bcb523587e37e1485b3b8
Author: Eric Long <i at hack3r.moe>
AuthorDate: Mon Nov 25 21:26:47 2024 +0800

    bpftool: turn off libbfd feature in host build
    
    libbfd feature is not used when building eBPF program, and it makes bpftool fail to build in a clean environment, since binutils in toolchain have libbfd disabled.
    
    Signed-off-by: Eric Long <i at hack3r.moe>
    Link: https://github.com/openwrt/openwrt/pull/17073
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/network/utils/bpftool/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/utils/bpftool/Makefile b/package/network/utils/bpftool/Makefile
index f2726d1896..c6cc92e18d 100644
--- a/package/network/utils/bpftool/Makefile
+++ b/package/network/utils/bpftool/Makefile
@@ -97,7 +97,7 @@ HOST_MAKE_FLAGS += \
 	$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \
 	check_feat=0 \
 	feature-clang-bpf-co-re=0 \
-	feature-libbfd=1 \
+	feature-libbfd=0 \
 	feature-llvm=0 \
 	feature-libcap=0 \
 	feature-disassembler-four-args=1 \




More information about the lede-commits mailing list