Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/bpftool: enable on loongarch64
@ 2026-11-22 15:16 Maxime Chevallier via buildroot
  2026-11-22 16:36 ` Julien Olivain via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Chevallier via buildroot @ 2026-11-22 15:16 UTC (permalink / raw)
  To: buildroot
  Cc: Maxime Chevallier, James Hilliard, Jiaxun Yang, Thomas Petazzoni,
	Alexis Lothoré

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.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
 package/bpftool/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in
index 55b31c6174..34cfae01c9 100644
--- a/package/bpftool/Config.in
+++ b/package/bpftool/Config.in
@@ -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
-- 
2.56.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/bpftool: enable on loongarch64
  2026-11-22 15:16 [Buildroot] [PATCH] package/bpftool: enable on loongarch64 Maxime Chevallier via buildroot
@ 2026-11-22 16:36 ` Julien Olivain via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-22 16:36 UTC (permalink / raw)
  To: Maxime Chevallier
  Cc: buildroot, James Hilliard, Jiaxun Yang, Thomas Petazzoni,
	Alexis Lothoré

On 22/11/2026 16:16, Maxime Chevallier via buildroot wrote:
> 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.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Applied to next, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-22 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 15:16 [Buildroot] [PATCH] package/bpftool: enable on loongarch64 Maxime Chevallier via buildroot
2026-11-22 16:36 ` Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox