summaryrefslogtreecommitdiffstats
path: root/meta/classes/gobject-introspection.bbclass
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-03-23 14:52:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-28 15:55:49 +0100
commitabd5b24ff7f94875d69fca664e9d9ff8ac35c0ad (patch)
treee45f0be2ce5c8d027bbcb11face72a74afd445e4 /meta/classes/gobject-introspection.bbclass
parentf81065f5b2313fc4d967c0144b90838f33e6ff60 (diff)
downloadpoky-abd5b24ff7f94875d69fca664e9d9ff8ac35c0ad.tar.gz
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>
Diffstat (limited to 'meta/classes/gobject-introspection.bbclass')
-rw-r--r--meta/classes/gobject-introspection.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass
index d8b8b3ed27..2d73e402ce 100644
--- a/meta/classes/gobject-introspection.bbclass
+++ b/meta/classes/gobject-introspection.bbclass
@@ -1,9 +1,9 @@
1# Inherit this class in recipes to enable building their introspection files 1# Inherit this class in recipes to enable building their introspection files
2 2
3# This allows disabling introspection support (and therefore avoiding the use 3# This sets up autoconf-based recipes to build introspection data (or not),
4# of qemu) in recipes if gobject-introspection-data is omitted from 4# depending on distro and machine features (see gobject-introspection-data class).
5# DISTRO_FEATURES or MACHINE_FEATURES. 5inherit gobject-introspection-data
6EXTRA_OECONF_prepend = "${@bb.utils.contains('COMBINED_FEATURES', 'gobject-introspection-data', '--enable-introspection', '--disable-introspection', d)} " 6EXTRA_OECONF_prepend = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection', '--disable-introspection', d)} "
7 7
8UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection" 8UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
9 9