Re: [poky] [PATCH 2/4] conf/fragments: add fragments for qemux86-64 and qemuarm64
Alexander Kanavin <[email protected]> Wed, 4 Jun 2025 09:46:51 +0200
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <CANNYZj9wRaL3Biwhdjn7B0wW3v61ieoEMCO6MFH15n_aLvtDAg@mail.gmail.com> |
On Tue, 3 Jun 2025 at 21:48, Richard Purdie <[email protected]> wrote: > What bothers me about this is that we have multiple files, each with a > single similar config line in them. It implies we need to create a new > machine config fragment for every machine, which to be honest, is > madness. > > Would it be better if the config/setup code understood what something > like "machine/qemux86-64" or "distro/poky" meant and did something > magic with that? Haha, yes. I've been stuck in the subject so long that I no longer see the forest for the trees. I think bitbake-config-build should be extended to have 'list-machines/set-machine/list-distros/set-distro', and then bitbake-setup would call out to that, like it already does for fragments. There's already 'show-machines' in bitbake-layers, which should be renamed and moved, so that bitbake-layers is less over-stuffed with sub-commands. Alex