[yocto] sstate-cache and native recipes
Gary Thomas
gary at mlbassoc.com
Wed Jan 18 01:51:25 PST 2017
On 2017-01-18 10:35, Burton, Ross wrote:
>
> On 18 January 2017 at 09:13, Gary Thomas <gary at mlbassoc.com <mailto:gary at mlbassoc.com>> wrote:
>
> * glib-2.0-native depends on ${DISTRO_FEATURES}
> To me this seems silly as "native" should be "native" and
> not depend on any distribution settings. Here's the code
> that's causing it (in do_install)
>
> if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test ]; then
> if ${@bb.utils.contains("DISTRO_FEATURES", "x11", "false", "true", d)}; then
> rm ${D}${datadir}/installed-tests/glib/gdbus-serialization.test
> fi
> fi
>
> Obviously this isn't important for a native package. Any
> suggestions on how I might keep this from creeping in?
>
>
> The tests are only installed for target builds anyway, so that do_install part could be target-specific.
How would one change the recipe to reflect that? Is there an
override that effectively says "not -native"?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list