Hi Jacob,
On 5/16/22 14:52, Jacob Kroon wrote:
On 5/16/22 14:38, richard.pur...@linuxfoundation.org wrote:
On Mon, 2022-05-16 at 13:43 +0200, Jacob Kroon wrote:
Hi Richard,
On 5/16/22 13:28, Richard Purdie wrote:
Using += unintentionally removes all over entries from
DISTRO_FEATURES and
"over", you mean "other" ? If so, how is that possible ?
I mean other, I'll fix the typo. It happens due to:
meta-poky/conf/distro/poky.conf:DISTRO_FEATURES ?=
"${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
which interacts badly with "+=" :(
I'm not happy about the situation with variable interactions but still
not entirely sure the best way to proceed.
That is surprising to me. I tried this snippet in a Makefile:
foo ?= bar1
foo += bar2
Same for Bitbake.
However:
foo += bar2
foo ?= bar1
will return " bar2", while make returns "bar2" (note the missing leading
space).
The issue is where the ?= is located. If it is in a recipe,
configuration files need to use :append otherwise they will override ?=
(as configuration files are parsed before recipes).
Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#165681):
https://lists.openembedded.org/g/openembedded-core/message/165681
Mute This Topic: https://lists.openembedded.org/mt/91137386/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-