mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00: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: 8b14fcc62f31bbbb231790136cdb984db96d9ba9) 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 =+ "${@bb.utils.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