summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-02 15:41:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-05 18:01:04 +0000
commitdec0b0ffd22924798936c7068f0b22e88252d945 (patch)
treee2303fa034194e94236b37c50d2fd4a57b850647 /meta/recipes-core
parent6b58ddbbbdd56bc009c9bcdee94c05b7c6dc183a (diff)
downloadpoky-dec0b0ffd22924798936c7068f0b22e88252d945.tar.gz
dbus: don't use PTEST_ENABLED as recipe doesn't inherit ptest
As this recipe's ptest support is merely a shim to pull in dbus-test-ptest it doesn't inherit ptest. This means that PTEST_ENABLED isn't ever set, so check DISTRO_FEATURES directly. (From OE-Core rev: 7ee1da8126f1d4957e533cc26696e85c5a6de4bb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/dbus/dbus.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index d38ba7e1d2..fb5d017856 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
8DEPENDS = "expat virtual/libintl" 8DEPENDS = "expat virtual/libintl"
9RDEPENDS_dbus_class-native = "" 9RDEPENDS_dbus_class-native = ""
10RDEPENDS_dbus_class-nativesdk = "" 10RDEPENDS_dbus_class-nativesdk = ""
11PACKAGES += "${@bb.utils.contains('PTEST_ENABLED', '1', 'dbus-ptest', '', d)}" 11PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
12ALLOW_EMPTY_dbus-ptest = "1" 12ALLOW_EMPTY_dbus-ptest = "1"
13RDEPENDS_dbus-ptest_class-target = "dbus-test-ptest" 13RDEPENDS_dbus-ptest_class-target = "dbus-test-ptest"
14 14