public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>,
	"Schmidt, Adriaan" <adriaan.schmidt@siemens.com>,
	"Koch, Stefan (MO MLT LM EN CCI 1)" <stefan-koch@siemens.com>
Subject: Re: PREFERRED_VERSION for custom linux kernels
Date: Mon, 27 May 2024 13:56:08 +0200	[thread overview]
Message-ID: <accd0cac-67a5-4f22-9efe-ab1e4d0dca06@siemens.com> (raw)
In-Reply-To: <47492fd7-1603-4055-9069-99d67c19c5ed@siemens.com>

On 22.05.24 19:27, 'Jan Kiszka' via isar-users wrote:
> Hi all,
> 
> with the introduction of -kbuildtarget and the relevance of -native for
> custom kernel recipes, we now have a recipe API change /wrt selecting
> the kernel version (PREFERRED_VERSION_linux...) in case there are
> multiple. This can look ugly downstream see [1]. I'm now also doing the
> same for xenomai-images, and there I thought again about deriving the
> preferred version of -native and -kbuildtarget from the one set for the
> base target:
> 
> PREFERRED_VERSION_linux-xenomai-3-native ?=
> "${PREFERRED_VERSION_linux-xenomai-3}"
> PREFERRED_VERSION_linux-xenomai-3-kbuildtarget ?=
> "${PREFERRED_VERSION_linux-xenomai-3}"
> 
> And that leads to my question: Update RECIPES-API-CHANGELOG with this
> information or rather set similar defaults for
> PREFERRED_VERSION_linux-${KERNEL_NAME}-native/kbuildtarget, obsoleting
> the pattern above? Thoughts?
> 

No one commented, but I have some additional thought:

It's not that clear to me where such a generic assignment would best be
hosted if we decided to have it in isar. It likely does not help to put
those into the recipes as those are evaluated after the version choice,
at least based on my understanding. But having this in isar's
bitbake.conf or layer.conf looks weird as well.

Jan

> Jan
> 
> [1]
> https://gitlab.com/cip-project/cip-core/isar-cip-core/-/commit/52508662349362f6e97528976f28a2cbf06e9d97

-- 
Siemens AG, Technology
Linux Expert Center


      reply	other threads:[~2024-05-27 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 17:27 Jan Kiszka
2024-05-27 11:56 ` Jan Kiszka [this message]

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=accd0cac-67a5-4f22-9efe-ab1e4d0dca06@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=adriaan.schmidt@siemens.com \
    --cc=isar-users@googlegroups.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