From: Richard Purdie Date: Wed, 18 Dec 2013 17:12:55 +0000 (+0000) Subject: ptest: Disable for native recipes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~35069 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16dd4cd5564a19b0a221661205430e01c35673af;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. (From OE-Core rev: f3d35bb4719d0b8f8e6fc5976e9dbfc0e2019c2e) Signed-off-by: Richard Purdie --- diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index 98c913922dd..ec10f80e68f 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass @@ -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 = ""