mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
ptest: Work from PTEST_ENABLED, not DISTRO_FEATURES
Some classes of recipe disable ptest even though its in DISTRO_FEATURES (e.g. nativesdk). We shouldn't attempt to build ptest packages when its disabled. This replaces some DISTRO_FEATURE checks with PTEST_ENABLED checks instead. (From OE-Core rev: d1369fe95ac6732e5747873eccd6a1e74359cea4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -13,7 +13,7 @@ PTEST_ENABLED_class-cross-canadian = ""
|
||||
RDEPENDS_${PN}-ptest_class-native = ""
|
||||
RDEPENDS_${PN}-ptest_class-nativesdk = ""
|
||||
|
||||
PACKAGES =+ "${@base_contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
|
||||
PACKAGES =+ "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
|
||||
|
||||
do_configure_ptest() {
|
||||
:
|
||||
|
||||
Reference in New Issue
Block a user