On Fri, 2024-05-31 at 12:15 +0000, Peter Kjellerstedt wrote: > > -----Original Message----- > > From: > > [email protected] > > <[email protected] > > > On Behalf Of Richard Purdie > > Sent: den 31 maj 2024 12:57 > > To: [email protected]; > > [email protected] > > Subject: Re: [OE-core] [PATCH] base/bitbake.conf: use default > > assigment for UNPACKDIR > > > > On Fri, 2024-05-31 at 10:27 +0000, Samuli Piippo via > > lists.openembedded.org wrote: > > > This lets recipes in other layers add weak default assignment as > > > UNPACKDIR ??= "${WORKDIR}" > > > which allows the recipes to work also with older Yocto releases > > > without overriding the default value used in styhead. > > > > > > Signed-off-by: Samuli Piippo <[email protected]> > > > --- > > > meta/conf/bitbake.conf | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > I'm getting a bit frustrated with the requests to make changes to > > core > > to make it easier for people to write layers which "work" with all > > versions of the project. That isn't something we've ever committed > > to > > or encourage, quite the opposite. > > > > There isn't any analysis of what other side effects this may have, > > or > > whether it is actually the right decision for the variable going > > forward, the change is entirely retrospective looking and I'm not > > keen > > to evaluate changes that way. > > Actually, is there any reason it is using "??=" rather than "="? > Other > similar variables such as WORKDIR, S, B, etc all use = when setting > them in bitbake.conf.
Conceptually, it seemed to make sense to have a weak default value which any other setting would override if set by other levels of the system. Other variables in that file were defined before ??= existed. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#200070): https://lists.openembedded.org/g/openembedded-core/message/200070 Mute This Topic: https://lists.openembedded.org/mt/106405273/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
