[OE-core] [PATCH 2/2] base: make feature backfilling happen earlier
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Mon Jan 28 15:44:15 UTC 2013
Phil Blundell <pb at pbcl.net> writes:
> This does seem rather like an abuse of DISTRO_FEATURES_BACKFILL. Can
> you explain why you are doing it this way rather than just setting
> DISTRO_FEATURES directly to what you wanted?
I need a way to:
1. set some defaults on distribution base and avoid nasty details like
mandatory ${DISTRO_FEATURES_LIBC} flags in the project configuration
2. allow to override these defaults on a per-project base
3. add features support by recipes/classes of my distribution
afaik, DISTRO_FEATURES_BACKFILL + _CONSIDERED exist to allow the first
two point without an '-=' operator which lacks in bitbake.
Of course, I could reinvent the wheel and write my own _CONSIDERED
mechanism. But until now (resp. without the '=' => '?=' change), it
worked fine with DISTRO_FEATURES_BACKFILL.
Enrico
More information about the Openembedded-core
mailing list