On 2017-01-18 10:35, Burton, Ross wrote:

On 18 January 2017 at 09:13, Gary Thomas <g...@mlbassoc.com 
<mailto:g...@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
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to