package/bpftool: allow building on MIPS architecture

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 <theo.lebrun@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Théo Lebrun
2026-08-28 18:46:48 +02:00
committed by Thomas Petazzoni
parent a77b6ef167
commit 4cf4feecc0

View File

@@ -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"