summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2018-06-26 10:59:51 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-28 09:22:35 +0100
commit9dce78ba8fd3833d3b3d6ad52249a622cde8491b (patch)
treea8f7d802ae38d87068178f582086965ad089b9bf /meta/recipes-core/glib-2.0
parent3e7d26e31a724009e69788460737e07163a14051 (diff)
downloadpoky-9dce78ba8fd3833d3b3d6ad52249a622cde8491b.tar.gz
glib: remove unnecessary dependency to DISTRO_FEATURES
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. (From OE-Core rev: a39830b77f567e2361f1ced49bfdce52591e220c) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0')
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 31b74362e3..d6d91335a6 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -117,7 +117,7 @@ do_install_append () {
117 117
118do_install_append_class-target () { 118do_install_append_class-target () {
119 # Tests are only installed on targets, not native builds. Separating this out 119 # Tests are only installed on targets, not native builds. Separating this out
120 # keeps glib-2.0-native from depending on ${DISTRO_FEATURES} 120 # keeps glib-2.0-native from depending on DISTRO_FEATURES
121 if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test ]; then 121 if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test ]; then
122 if ${@bb.utils.contains("DISTRO_FEATURES", "x11", "false", "true", d)}; then 122 if ${@bb.utils.contains("DISTRO_FEATURES", "x11", "false", "true", d)}; then
123 rm ${D}${datadir}/installed-tests/glib/gdbus-serialization.test 123 rm ${D}${datadir}/installed-tests/glib/gdbus-serialization.test