public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Adriaan Schmidt <adriaan.schmidt@siemens.com>
To: isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, stefan-koch@siemens.com,
	Adriaan Schmidt <adriaan.schmidt@siemens.com>
Subject: [PATCH v2 0/3] Kbuild follow-up
Date: Fri, 10 May 2024 12:36:50 +0200	[thread overview]
Message-ID: <20240510103653.3364162-1-adriaan.schmidt@siemens.com> (raw)

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 v1:
- always use linux-kbuild-native as build dependency, even for emulated
  builds, because the multiarch logic will select the correct package

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-isar/recipes-kernel/example-module/example-module.bb | 2 ++
 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 +
 5 files changed, 11 insertions(+), 5 deletions(-)

-- 
2.39.2


             reply	other threads:[~2024-05-10 10:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-10 10:36 Adriaan Schmidt [this message]
2024-05-10 10:36 ` [PATCH v2 1/3] module.inc: fix kbuild dependency Adriaan Schmidt
2024-05-10 11:21   ` Jan Kiszka
2024-05-13  4:18     ` Schmidt, Adriaan
2024-05-10 10:36 ` [PATCH v2 2/3] linux-custom: use to_boolean when checking ISAR_CROSS_COMPILE Adriaan Schmidt
2024-05-10 10:36 ` [PATCH v2 3/3] kbuildtarget.bbclass: add missing license header Adriaan Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240510103653.3364162-1-adriaan.schmidt@siemens.com \
    --to=adriaan.schmidt@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    --cc=stefan-koch@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox