public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* PREFERRED_VERSION for custom linux kernels
@ 2024-05-22 17:27 Jan Kiszka
  2024-05-27 11:56 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2024-05-22 17:27 UTC (permalink / raw)
  To: isar-users, Schmidt, Adriaan, Koch, Stefan (MO MLT LM EN CCI 1)

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?

Jan

[1]
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/commit/52508662349362f6e97528976f28a2cbf06e9d97
-- 
Siemens AG, Technology
Linux Expert Center

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

end of thread, other threads:[~2024-05-27 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22 17:27 PREFERRED_VERSION for custom linux kernels Jan Kiszka
2024-05-27 11:56 ` Jan Kiszka

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