From: Niklas Cassel via buildroot <buildroot@buildroot.org>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: "buildroot@buildroot.org" <buildroot@buildroot.org>,
Damien Le Moal <dlemoal@kernel.org>,
Florian Fainelli <f.fainelli@gmail.com>,
"Yann E . MORIN" <yann.morin@orange.com>,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
Niklas Cassel <cassel@kernel.org>,
Romain Naour <romain.naour@smile.fr>,
Julien Olivain <ju.o@free.fr>
Subject: Re: [Buildroot] [PATCH 2/2] package/linux-tools: selftests: Add path containing BPF binary to _BIN_ARCH_EXCLUDE
Date: Thu, 20 Mar 2025 09:01:45 +0000 [thread overview]
Message-ID: <Z9vZeCCctKVuW-BB@ryzen> (raw)
In-Reply-To: <20250218104807.2329338-2-Niklas.Cassel@wdc.com>
On Tue, Feb 18, 2025 at 11:48:07AM +0100, Niklas Cassel wrote:
> From: Niklas Cassel <cassel@kernel.org>
>
> Enabling BR2_PACKAGE_LINUX_TOOLS_SELFTESTS (on rock5b_defconfig,
> which uses kernel 6.12 at the time of writing), results in:
>
> make[1]: Leaving directory '/br/output/build/linux-endpoint-test/tools/testing/selftests'
> ERROR: architecture for "/usr/lib/kselftests/tc-testing/action-ebpf" is "Linux BPF", should be "AArch64"
> make: *** [package/pkg-generic.mk:402: /br/output/build/linux-tools/.stamp_installed] Error 1
>
> To solve this, add /usr/lib/kselftests/tc-testing/ to
> LINUX_TOOLS_BIN_ARCH_EXCLUDE.
>
> Signed-off-by: Niklas Cassel <cassel@kernel.org>
> ---
> package/linux-tools/linux-tool-selftests.mk.in | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/linux-tools/linux-tool-selftests.mk.in b/package/linux-tools/linux-tool-selftests.mk.in
> index 0bcc47af0a..db7e4fa1a3 100644
> --- a/package/linux-tools/linux-tool-selftests.mk.in
> +++ b/package/linux-tools/linux-tool-selftests.mk.in
> @@ -26,6 +26,9 @@ SELFTESTS_MAKE_FLAGS = \
> ARCH=$(SELFTESTS_ARCH) \
> KHDR_DIR=$(LINUX_DIR)/usr/include
>
> +LINUX_TOOLS_BIN_ARCH_EXCLUDE += \
> + /usr/lib/kselftests/tc-testing/
> +
> # O must be redefined here to overwrite the one used by Buildroot for
> # out of tree build. We build the selftests in $(LINUX_DIR)/tools/selftests and
> # not just $(LINUX_DIR) so that it isn't built in the root directory of the kernel
> --
> 2.48.1
Hello Thomas, Romain, Julien,
Any chance to get this picked up?
Kind regards,
Niklas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-03-20 9:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-18 10:48 [Buildroot] [PATCH 1/2] package/linux-tools: perf: Fix _BIN_ARCH_EXCLUDE Niklas Cassel via buildroot
2025-02-18 10:48 ` [Buildroot] [PATCH 2/2] package/linux-tools: selftests: Add path containing BPF binary to _BIN_ARCH_EXCLUDE Niklas Cassel via buildroot
2025-03-04 22:36 ` Florian Fainelli
2025-03-20 9:01 ` Niklas Cassel via buildroot [this message]
2025-04-16 20:56 ` Arnout Vandecappelle via buildroot
2025-02-24 8:14 ` [Buildroot] [PATCH 1/2] package/linux-tools: perf: Fix _BIN_ARCH_EXCLUDE Niklas Cassel via buildroot
2025-03-04 22:36 ` Florian Fainelli
2025-03-12 8:40 ` Niklas Cassel via buildroot
2025-03-20 21:47 ` Julien Olivain
2025-04-16 20:55 ` Arnout Vandecappelle 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=Z9vZeCCctKVuW-BB@ryzen \
--to=buildroot@buildroot.org \
--cc=Niklas.Cassel@wdc.com \
--cc=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=f.fainelli@gmail.com \
--cc=ju.o@free.fr \
--cc=romain.naour@smile.fr \
--cc=thomas.petazzoni@bootlin.com \
--cc=yann.morin.1998@free.fr \
--cc=yann.morin@orange.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