mbox series

[v2,0/4] Fix kernel build and propagation of linux-libc-dev

Message ID 20260803083450.2048909-1-felix.moessbauer@siemens.com
Headers show
Series Fix kernel build and propagation of linux-libc-dev | expand

Message

Felix Moessbauer Aug. 3, 2026, 8:34 a.m. UTC
This series fixes the kernel build and the propagation of linux-libc-dev,
which is enabled by setting KERNEL_LIBC_DEV_DEPLOY = "1".

To ensure this does not silently break in the future, we add a test.
As testing the actual build of the kernel is too expensive, we only test
the propagation of the dependency via a parser test.

Changes since v1:

- p2: rework comments to better explain why some targets disable cross compile
- p4: rework testcase by moving logic from cibase.py to citest.py
- No functional changes compared to v1

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (4):
  kernel: drop implicit build dependency to build-essential
  fix(kernel): restore building of linux-libc-dev
  testsuite: emit output filenames in generate_dependency_graph
  testsuite: add test for KERNEL_LIBC_DEV_DEPLOY

 meta/classes-recipe/libctarget.bbclass        | 13 +++++
 meta/classes-recipe/linux-kernel.bbclass      | 47 ++++++++++++++++---
 .../linux/files/debian/control.tmpl           |  4 +-
 .../linux/files/debian/isar/common.tmpl       |  6 ++-
 .../linux/files/debian/isar/install.tmpl      |  9 ++++
 testsuite/cibase.py                           | 15 ++++--
 testsuite/citest.py                           | 36 ++++++++++++++
 7 files changed, 118 insertions(+), 12 deletions(-)
 create mode 100644 meta/classes-recipe/libctarget.bbclass