Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Chevallier via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: "Maxime Chevallier" <maxime.chevallier@bootlin.com>,
	"James Hilliard" <james.hilliard1@gmail.com>,
	"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Alexis Lothoré" <alexis.lothore@bootlin.com>
Subject: [Buildroot] [PATCH] package/bpftool: enable on loongarch64
Date: Sun, 22 Nov 2026 16:16:07 +0100	[thread overview]
Message-ID: <20261122151607.287365-1-maxime.chevallier@bootlin.com> (raw)

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

             reply	other threads:[~2026-11-22 15:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 15:16 Maxime Chevallier via buildroot [this message]
2026-11-22 16:36 ` [Buildroot] [PATCH] package/bpftool: enable on loongarch64 Julien Olivain via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261122151607.287365-1-maxime.chevallier@bootlin.com \
    --to=buildroot@buildroot.org \
    --cc=alexis.lothore@bootlin.com \
    --cc=james.hilliard1@gmail.com \
    --cc=jiaxun.yang@flygoat.com \
    --cc=maxime.chevallier@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox