Skip to content

fix the SDK kernel module test

Trevor Woerner openembedded-core 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 6 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- the kernel module test asks for pkg-config-native, the wrapper kernel.bbclass already gives its own host tools, rather than spelling out an env -u invocation of the SDK's own pkg-config

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2oeqa/sdk: update cryptodev to a revision that builds on kernel 6.18meta/lib/oeqa/sdk/cases/kmod.py+2 -20 replies
2/2oeqa/sdk: build the kernel's host tools with a host pkg-configmeta/lib/oeqa/sdk/cases/kmod.py+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] fix the SDK kernel module test

The kernel module test in the SDK test suite does not pass today.

The cryptodev revision it builds no longer builds against kernel 6.18, and the kernel's host tools are compiled with a pkg-config that the SDK environment has pointed at the target sysroot, so a host compile is handed target include paths and fails under -Werror. OE-Core already solves the second one for its own kernel builds, where kernel.bbclass passes HOSTPKG_CONFIG=pkg-config-native; the SDK simply had no equivalent.

These are independent of any SDK feature work and fix a test that is broken in master today.

Changes in v3:
- the kernel module test asks for pkg-config-native, the wrapper kernel.bbclass already gives its own host tools, rather than spelling out an env -u invocation of the SDK's own pkg-config

Changes in v2:
- the SDK environment script no longer exports HOSTPKG_CONFIG. That half only ever took effect against a proposed kernel change that has since been abandoned, so nothing honoured it. The make command line assignment, which is what makes the test work, is unchanged
- the second patch loses its toolchain-scripts subject prefix, since it no longer touches that file

Trevor Woerner (2):
oeqa/sdk: update cryptodev to a revision that builds on kernel 6.18 oeqa/sdk: build the kernel's host tools with a host pkg-config

 meta/lib/oeqa/sdk/cases/kmod.py | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
Signature · 1 line
2.50.0.173.g8b6f19ccfc3a