Re: [PATCH RFC v2 0/2] bitbake-setup: add source choices
Alexander Kanavin <[email protected]> Fri, 19 Jun 2026 12:58:11 +0200
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <CANNYZj8wU4-Qh-EgB1ukobjqs9sOvjDSjOs6fEFCNqCSgTXBjw@mail.gmail.com> |
On Thu, 18 Jun 2026 at 20:04, Ernest Van Hoecke <[email protected]> wrote: > The consolidated registry examples intentionally do not preserve the > exact setup-dir-name behavior of the existing release-specific files. > Today, setup-dir-name can substitute oe-fragments-one-of selections, but > it has no way to refer to the selected source choice. Possible follow-ups > include a built-in source-choice substitution variable or a different way > to model source/config combination metadata. For a substitution variable, > we have to prevent collision with a fragment choice. Yes, there probably should be a 'special' variable for substituting the selected source, and a check that there's no fragment selection that has the name (in the unlikely case there's an accidental clash - it's easy to address by tweaking the name of the fragment selection block). Alex