public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Kbuild follow-up
@ 2024-05-13  4:17 Adriaan Schmidt
  2024-05-13  4:17 ` [PATCH v3 1/3] module.inc: fix kbuild dependency Adriaan Schmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Adriaan Schmidt @ 2024-05-13  4:17 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, stefan-koch, Adriaan Schmidt

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

changes since v2:
- removed a forgotten line of testing code

changes since v1:
- always use linux-kbuild-native as build dependency, even for emulated
  builds, because the multiarch logic will select the correct package


*** BLURB HERE ***

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            | 3 ++-
 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, 9 insertions(+), 5 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-13  9:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-13  4:17 [PATCH v3 0/3] Kbuild follow-up Adriaan Schmidt
2024-05-13  4:17 ` [PATCH v3 1/3] module.inc: fix kbuild dependency Adriaan Schmidt
2024-05-13  5:24   ` Jan Kiszka
2024-05-13  7:02     ` Jan Kiszka
2024-05-13  4:17 ` [PATCH v3 2/3] linux-custom: use to_boolean when checking ISAR_CROSS_COMPILE Adriaan Schmidt
2024-05-13  7:45   ` Koch, Stefan
2024-05-13  9:06   ` Koch, Stefan
2024-05-13  4:17 ` [PATCH v3 3/3] kbuildtarget.bbclass: add missing license header Adriaan Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox