ptest: Disable for native recipes
PATCH 1/1 ptest: Disable for native recipes
We don't use or otherwise care about ptest for native recipes. Its therefore pointless to take the performance hit for them and we can disable them.
Signed-off-by Richard Purdie <[email protected]>
---
meta/classes/ptest.bbclass +1 -0
@@ -7,6 +7,7 @@ FILES_${PN}-ptest = "${PTEST_PATH}" SECTION_${PN}-ptest = "devel" ALLOW_EMPTY_${PN}-ptest = "1" PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" +PTEST_ENABLED_class-native = "" RDEPENDS_${PN}-ptest_virtclass-native = "" RDEPENDS_${PN}-ptest_virtclass-nativesdk = ""