[PATCH net-next v3 0/2] selftests: drv-net: Allow cross-compiling the hardware tests

Maxime Chevallier (Netdev Foundation) posted 2 patches 2 weeks, 4 days ago
tools/net/ynl/Makefile                          | 1 +
tools/net/ynl/generated/Makefile                | 3 ++-
tools/net/ynl/lib/Makefile                      | 3 ++-
tools/net/ynl/tests/Makefile                    | 2 +-
tools/net/ynl/ynltool/Makefile                  | 6 ++----
tools/testing/selftests/drivers/net/hw/Makefile | 5 +++++
6 files changed, 13 insertions(+), 7 deletions(-)
[PATCH net-next v3 0/2] selftests: drv-net: Allow cross-compiling the hardware tests
Posted by Maxime Chevallier (Netdev Foundation) 2 weeks, 4 days ago
Hi,

This is the third version for the ynl and drivers/net/hw
cross-compilation enablement series.

Changes come from Sashiko reviews, that detected some Makefile inclusion
ordering issues, a stray 'Q = @' in the ynl makefiles to have proper
verbosity support, and some commit log rewording.

Changes in V3:
 - Add Matthieu's review tags
 - Drop 'Q = @' line in patch 1, it's now handled properly through
   Makefile.include
 - Include Makefile.include before Makefile.arch
 - Reword the commit logs to explain the limitations

Changes in V2:
V2: https://lore.kernel.org/r/20260903155524.2241065-1-maxime.chevallier@bootlin.com
 - Update the topic for patch 1
 - Update the CC construction for patch 2

V1: https://lore.kernel.org/r/20260901164200.1124343-1-maxime.chevallier@bootlin.com

Maxime Chevallier (Netdev Foundation) (2):
  tools: ynl: Allow cross-compiling ynl and associated tools
  selftests: drv-net: Use cross-compilation environment for the io_uring
    check

 tools/net/ynl/Makefile                          | 1 +
 tools/net/ynl/generated/Makefile                | 3 ++-
 tools/net/ynl/lib/Makefile                      | 3 ++-
 tools/net/ynl/tests/Makefile                    | 2 +-
 tools/net/ynl/ynltool/Makefile                  | 6 ++----
 tools/testing/selftests/drivers/net/hw/Makefile | 5 +++++
 6 files changed, 13 insertions(+), 7 deletions(-)

-- 
2.55.0
Re: [PATCH net-next v3 0/2] selftests: drv-net: Allow cross-compiling the hardware tests
Posted by Jakub Kicinski 2 weeks, 2 days ago
On Mon,  7 Sep 2026 18:14:34 +0200 Maxime Chevallier (Netdev
Foundation) wrote:
> Changes come from Sashiko reviews, that detected some Makefile inclusion
> ordering issues, a stray 'Q = @' in the ynl makefiles to have proper
> verbosity support, and some commit log rewording.

Looks good enough, if it works for you.
If we see a lot of follow ups and variance in the env people want 
to support we'll have to add some kind of a build test env on QEMU.