[OE-core] [PATCH 7/8] gobject-introspection.bbclass: make additional DEPENDS conditional

Andre McCurdy armccurdy at gmail.com
Thu Mar 17 17:19:28 UTC 2016


Make gobject introspection specific dependencies conditional on
gobject introspection being enabled.

Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/classes/gobject-introspection.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/gobject-introspection.bbclass b/meta/classes/gobject-introspection.bbclass
index d8b8b3e..eb0e7ad 100644
--- a/meta/classes/gobject-introspection.bbclass
+++ b/meta/classes/gobject-introspection.bbclass
@@ -9,7 +9,7 @@ UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspe
 
 # Generating introspection data depends on a combination of native and target
 # introspection tools, and qemu to run the target tools.
-DEPENDS_append = " gobject-introspection gobject-introspection-native qemu-native"
+DEPENDS_append = " ${@bb.utils.contains('COMBINED_FEATURES', 'gobject-introspection-data', 'gobject-introspection gobject-introspection-native qemu-native', '', d)}"
 
 # This is necessary for python scripts to succeed - distutils fails if these
 # are not set
-- 
1.9.1




More information about the Openembedded-core mailing list