Yocto Project Discussions
 help / color / mirror / Atom feed
* Multiple images on the same hardware
@ 2024-01-25  9:38 Aleksandar Nikolic
  2024-01-25  9:55 ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 9+ messages in thread
From: Aleksandar Nikolic @ 2024-01-25  9:38 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]

Hi,

I know similar questions have been posted before, but still I have a few things to clarify.

We are using the same hardware for multiple projects, which means some projects support some interfaces (e.g. bluetooth - Y, WiFi - N), while others some other interfaces (e.g. bluetooth - N, WiFi - Y). Of course I don't want support for bluetooth in case we don't need it.

AFAIK there are (at least) two ways to address this: [1] with multiple MACHINE configs and [2] with multiple IMAGE recipes.

F or MACHINE_FEATURES the Yocto documentation states the following: Specifies the list of hardware features the MACHINE ( https://docs.yoctoproject.org/4.0.15/ref-manual/variables.html?highlight=machine_features#term-MACHINE ) is capable of supporting. I am reading as: [1] there is only one MACHINE conf per target and [2] MACHINE_FEATURES does not change. This leaves us with the second option: we should have multiple image recipes and each recipe should define for itself what package groups it will include (e.g. bluetooth support, wifi support, etc.). However, this doesn't play nicely with e.g. kernel fragments. If the product does not need to support bluetooth, I also don't want the software stack compiled in my kernel, however, I don't have a variable to use in my kernel recipe. Any thoughts to this?

Aleksandar

[-- Attachment #2: Type: text/html, Size: 1803 bytes --]

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

end of thread, other threads:[~2024-02-01 14:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25  9:38 Multiple images on the same hardware Aleksandar Nikolic
2024-01-25  9:55 ` [yocto] " Alexander Kanavin
2024-01-25 12:18   ` Aleksandar Nikolic
2024-01-25 14:54     ` Alexander Kanavin
2024-01-25 15:05       ` Aleksandar Nikolic
2024-01-31  7:23       ` Mike Looijmans
2024-01-31 22:07         ` Aleksandar Nikolic
2024-02-01 13:55           ` Mike Looijmans
2024-02-01 14:11             ` Aleksandar Nikolic

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