]> code.ossystems Code Review - openembedded-core.git/commitdiff
glib: remove unnecessary dependency to DISTRO_FEATURES
authorSamuli Piippo <samuli.piippo@qt.io>
Tue, 26 Jun 2018 07:59:51 +0000 (10:59 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jun 2018 08:22:30 +0000 (09:22 +0100)
Since DISTRO_FEATURES was expanded in the comments, it created
task dependency to the full content of DISTRO_FEATURES, instead
of just the x11 used below. This prevented reuse of sstate-cache
when unrelated feature flags were changed.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib.inc

index 31b74362e36d6f484218780aa827bacf9b904cdc..d6d91335a6c4eed6f77f7c87f8b4fe1ad38b06e3 100644 (file)
@@ -117,7 +117,7 @@ do_install_append () {
 
 do_install_append_class-target () {
        # Tests are only installed on targets, not native builds.  Separating this out
-       # keeps glib-2.0-native from depending on ${DISTRO_FEATURES}
+       # keeps glib-2.0-native from depending on DISTRO_FEATURES
        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