Re: [PATCH net-next v2 0/2] selftests: drv-net: Allow cross-compiling the hardware tests
From: Matthieu Baerts
Date: Thu Sep 03 2026 - 13:54:36 EST
Hi Andrew,
On 03/09/2026 19:11, Andrew Lunn wrote:
>> Tested on an aarch64 target, built on x86_64.
>
> Probably a question for Jakub or Matthieu.
>
> As part of the CI system which is feeding into patchworks, I don't
> think we build the selftests? Do we have the CPU resources to build
> them?
We do: the "build_tools" script [1] checks that. And they are also built
before launching the selftests.
> We currently do x86 64 and 32 bit builds. Do we have the CPU resources
> to do an arm64 cross build?
I think we do, but I don't know if we need to (see below)
> I assume a cross build the self tests needs something like buildroot
> to be sensible? Or Debians multi-arch stuff where you can install .deb
> packages for libraries for other architectures? So maybe that is going
> too far?
>From what I understood, the goal is to execute the selftests on embedded
systems as well, which will require building new image including the
kernel and the drivers/net selftests. Do we need to build the whole
kernel for arm64? :)
Cheers,
Matt