[oe-commits] [openembedded-core] 25/40: classes/gobject-introspecton-data: lazy assign GI_DATA_ENABLED

git at git.openembedded.org git at git.openembedded.org
Tue Sep 13 14:20:16 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 9a9ddb3377373179c85f76dedbdeb566b369f770
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Sep 12 12:46:26 2016 +0100

    classes/gobject-introspecton-data: lazy assign GI_DATA_ENABLED
    
    By letting a recipe assign GI_DATA_ENABLED trivially there is a simple and clear
    way to disable gobject-introspection for specific build configurations.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/gobject-introspection-data.bbclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/classes/gobject-introspection-data.bbclass b/meta/classes/gobject-introspection-data.bbclass
index b1bdd26..2ef6846 100644
--- a/meta/classes/gobject-introspection-data.bbclass
+++ b/meta/classes/gobject-introspection-data.bbclass
@@ -3,7 +3,5 @@
 #
 # It should be used in recipes to determine whether introspection data should be built,
 # so that qemu use can be avoided when necessary.
-GI_DATA_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \
+GI_DATA_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', \
                       bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d), 'False', d)}"
-
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list