mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake.conf: rename 'gobject-introspection-data' machine feature to 'qemu-usermode'
The new value is more general and better reflects what having the feature really means. Introspection data, then, is built only if 'gobject-introspection-data' is in DISTRO_FEATURES and 'qemu-usermode' is in MACHINE_FEATURES. (From OE-Core rev: 9927a3d72e2272d8e3dc4785ba02e27802ee1c6c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f81065f5b2
commit
abd5b24ff7
@@ -1,9 +1,9 @@
|
||||
# Inherit this class in recipes to enable building their introspection files
|
||||
|
||||
# This allows disabling introspection support (and therefore avoiding the use
|
||||
# of qemu) in recipes if gobject-introspection-data is omitted from
|
||||
# DISTRO_FEATURES or MACHINE_FEATURES.
|
||||
EXTRA_OECONF_prepend = "${@bb.utils.contains('COMBINED_FEATURES', 'gobject-introspection-data', '--enable-introspection', '--disable-introspection', d)} "
|
||||
# This sets up autoconf-based recipes to build introspection data (or not),
|
||||
# depending on distro and machine features (see gobject-introspection-data class).
|
||||
inherit gobject-introspection-data
|
||||
EXTRA_OECONF_prepend = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection', '--disable-introspection', d)} "
|
||||
|
||||
UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user