summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-01-16 13:31:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-18 13:28:04 +0000
commit89031c265183b16e683d60b74d702ed5b9f6f12f (patch)
tree75059678bc0643b488b890976a5f4274310a0759 /meta/classes
parent7cdfbc6b2fc853771fb3c53e6f7b3ef0ae4338bd (diff)
downloadpoky-89031c265183b16e683d60b74d702ed5b9f6f12f.tar.gz
ptest.bbclass: don't add to PACKAGES if disabled
Without this, we have excessive dependencies leaking into the build. In particular, glib-2.0 was sucking in python modules even if ptest wasn't in DISTRO_FEATURES. (From OE-Core rev: 7bf5ee91aa84a6fa85d6da361b64139889faa172) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/ptest.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 8bde489e90..361de786a8 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -14,7 +14,7 @@ PTEST_ENABLED = "${@base_contains("DISTRO_FEATURES", "ptest", "1", "0", d)}"
14RDEPENDS_${PN}-ptest_virtclass-native = "" 14RDEPENDS_${PN}-ptest_virtclass-native = ""
15RDEPENDS_${PN}-ptest_virtclass-nativesdk = "" 15RDEPENDS_${PN}-ptest_virtclass-nativesdk = ""
16 16
17PACKAGES += "${PN}-ptest" 17PACKAGES += "${@base_contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
18 18
19FILES_${PN}-dbg += "${PTEST_PATH}/*/.debug \ 19FILES_${PN}-dbg += "${PTEST_PATH}/*/.debug \
20 ${PTEST_PATH}/*/*/.debug \ 20 ${PTEST_PATH}/*/*/.debug \