mbox series

[0/3] Kbuild follow-up

Message ID 20240509103409.2762062-1-adriaan.schmidt@siemens.com
Headers show
Series Kbuild follow-up | expand

Message

Schmidt, Adriaan May 9, 2024, 10:34 a.m. UTC
Based on the Stefan's "[PATCH] linux-module: Support emulated module build
with cross-compiled kernel", and on the result of staring at dependency
graphs with Jan, this mainly addresses corner cases of the refactored
kbuild packaging when cross-compiling.

I've tested

- cross-compiled custom kernel and cross module build
- cross-compiled custom kernel and emulated module build
- distro kernel and emulated module build

Let me know if one of your use-cases is still missing.

Also including some fixups brought up in recent reviews on the ML.

Adriaan

Adriaan Schmidt (3):
  module.inc: fix kbuild dependency
  linux-custom: use to_boolean when checking ISAR_CROSS_COMPILE
  kbuildtarget.bbclass: add missing license header

 meta/recipes-kernel/linux-module/module.inc            | 5 ++++-
 meta/recipes-kernel/linux/classes/kbuildtarget.bbclass | 5 +++++
 meta/recipes-kernel/linux/linux-custom.inc             | 5 +----
 meta/recipes-kernel/linux/linux-distro.bb              | 1 +
 4 files changed, 11 insertions(+), 5 deletions(-)