On 2 May 2016 at 13:17, Alexander Kanavin <[email protected]
> 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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core