[OE-core] [PATCH] gobject-introspection.bbclass: disable introspection for -native recipes

Burton, Ross ross.burton at intel.com
Wed May 4 15:01:00 UTC 2016


On 2 May 2016 at 13:17, Alexander Kanavin <alexander.kanavin at linux.intel.com
> wrote:

> -EXTRA_OECONF_prepend = "${@bb.utils.contains('GI_DATA_ENABLED', 'True',
> '--enable-introspection', '--disable-introspection', d)} "
> +EXTRA_OECONF_prepend_class-target =
> "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection',
> '--disable-introspection', d)} "
> +
> +# When building native recipes, disable introspection, as it is not
> necessary,
> +# pulls in additional dependencies, and makes build times longer
> +EXTRA_OECONF_prepend_class-native = "--disable-introspection "
>
>  UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection
> --disable-introspection"
>
>  # 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_class-target = " gobject-introspection
> gobject-introspection-native qemu-native"
> +
> +# Even though introspection is disable on -native, gobject-introspection
> package is still
> +# needed for m4 macros.
> +DEPENDS_append_class-native = " gobject-introspection-native"
>

This leaves the nativesdk case undefined.  We probably want it enabled for
nativesdk?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160504/ae9644b2/attachment-0002.html>


More information about the Openembedded-core mailing list