From 4cf4feecc05d0d64b3654832741ae9afddf42c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lebrun?= Date: Fri, 28 Aug 2026 18:46:48 +0200 Subject: [PATCH] package/bpftool: allow building on MIPS architecture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libbpf supports MIPS since commit c86cb27 ("bpf, mips: Fix build errors about __NR_bpf undeclared", 2021-11-25). Unblock the build by a setting BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS=y if a BR2_mips* entry is set. Built and tested on BR2_mips_64r6. Signed-off-by: Théo Lebrun Signed-off-by: Thomas Petazzoni --- package/bpftool/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in index 9500baf11e..55b31c6174 100644 --- a/package/bpftool/Config.in +++ b/package/bpftool/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS default y if BR2_riscv default y if BR2_sparc || BR2_sparc64 default y if BR2_s390x + default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el config BR2_PACKAGE_BPFTOOL bool "bpftool"