<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 2 May 2016 at 13:17, Alexander Kanavin <span dir="ltr"><<a href="mailto:alexander.kanavin@linux.intel.com" target="_blank">alexander.kanavin@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":27l" class="a3s aXjCH">-EXTRA_OECONF_prepend = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection', '--disable-introspection', d)} "<br>
+EXTRA_OECONF_prepend_class-target = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection', '--disable-introspection', d)} "<br>
+<br>
+# When building native recipes, disable introspection, as it is not necessary,<br>
+# pulls in additional dependencies, and makes build times longer<br>
+EXTRA_OECONF_prepend_class-native = "--disable-introspection "<br>
<br>
UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"<br>
<br>
# Generating introspection data depends on a combination of native and target<br>
# introspection tools, and qemu to run the target tools.<br>
-DEPENDS_append = " gobject-introspection gobject-introspection-native qemu-native"<br>
+DEPENDS_append_class-target = " gobject-introspection gobject-introspection-native qemu-native"<br>
+<br>
+# Even though introspection is disable on -native, gobject-introspection package is still<br>
+# needed for m4 macros.<br>
+DEPENDS_append_class-native = " gobject-introspection-native"</div></blockquote></div><br>This leaves the nativesdk case undefined. We probably want it enabled for nativesdk?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>