[OE-core] [PATCH v2 0/2] Yocto Compatible 2.0 support code
Patrick Ohly
patrick.ohly at intel.com
Fri Jun 9 13:04:02 UTC 2017
As discussed in the "[Openembedded-architecture] Yocto Compatible 2.0
+ signature changes" mail thread, changes in a .bbappend cannot be
done unconditionally. Making _append and _remove depend on overrides
which get set based on DISTRO_FEATURES is one way of achieving this.
Conditional includes can have unexpected results when used with checks
that still change during parsing. Helper functions might make this a bit
safer and easier to review by limiting the check to DISTRO_FEATURES.
Changes in V2:
- added df- prefix to distro feature overrides
- replaced too complex optional_includes() with simpler
all/any_distro_features()
Patrick Ohly (2):
bitbake.conf: DISTRO_FEATURES as overrides
utils.py: helper function for optional include files
meta/conf/bitbake.conf | 17 ++++++++++++++++-
meta/lib/oe/utils.py | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 1 deletion(-)
base-commit: 186882ca62bf683b93cd7a250963921b89ba071f
--
git-series 0.9.1
More information about the Openembedded-core
mailing list