diff options
author | Ross Burton <ross.burton@intel.com> | 2014-12-02 15:41:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-05 17:42:44 +0000 |
commit | 7ee1da8126f1d4957e533cc26696e85c5a6de4bb (patch) | |
tree | 984fe4a2654973207b86c08efb43033bc8a87854 | |
parent | f0b1eab1ef24fabac98609eb9d314f618dca713a (diff) | |
download | openembedded-core-7ee1da8126f1d4957e533cc26696e85c5a6de4bb.tar.gz openembedded-core-7ee1da8126f1d4957e533cc26696e85c5a6de4bb.tar.bz2 openembedded-core-7ee1da8126f1d4957e533cc26696e85c5a6de4bb.zip |
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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 2 |
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 \ DEPENDS = "expat virtual/libintl" RDEPENDS_dbus_class-native = "" RDEPENDS_dbus_class-nativesdk = "" -PACKAGES += "${@bb.utils.contains('PTEST_ENABLED', '1', 'dbus-ptest', '', d)}" +PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}" ALLOW_EMPTY_dbus-ptest = "1" RDEPENDS_dbus-ptest_class-target = "dbus-test-ptest" |