Skip to contentSkip to conversation

package/bpftool: enable on loongarch64

PATCH In review Maxime Chevallier via buildroot 1 participant 2 messages Nov 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bpftool: enable on loongarch64

All the requirements to get bpftool to build on loongarch are there, there's proper kernel support, all the syscalls are implemented, let's allow compiling it for this architecture.

This was tested on Loongson 2K0300 (on a Banana Pi BPI-2K0300), that I'm using to run networking tests for the stmmac driver, and bpftool is required there for some kselftests.

---
 package/bpftool/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/bpftool/Config.in +1 -0
index 55b31c6174..34cfae01c9 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS
 	default y if BR2_arm || BR2_armeb
 	default y if BR2_aarch64 || BR2_aarch64_be
 	default y if BR2_i386 || BR2_x86_64
+	default y if BR2_loongarch64
 	default y if BR2_riscv
 	default y if BR2_sparc || BR2_sparc64
 	default y if BR2_s390x
Signature · 6 lines
2.56.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · Maxime Chevallier via buildroot

All the requirements to get bpftool to build on loongarch are there, there's proper kernel support, all the syscalls are implemented, let's allow compiling it for this architecture.

This was tested on Loongson 2K0300 (on a Banana Pi BPI-2K0300), that I'm using to run networking tests for the stmmac driver, and bpftool is required there for some kselftests.

Applied to next, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot