summaryrefslogtreecommitdiff
path: root/meta/classes/ptest.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-18 17:12:55 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-20 12:25:21 +0000
commit16dd4cd5564a19b0a221661205430e01c35673af (patch)
tree452db8ba3454fff00d373f37964ef49b0292d106 /meta/classes/ptest.bbclass
parent96aa9bf8880088c9a710c86cc8ee106138152a98 (diff)
downloadopenembedded-core-16dd4cd5564a19b0a221661205430e01c35673af.tar.gz
openembedded-core-16dd4cd5564a19b0a221661205430e01c35673af.tar.bz2
openembedded-core-16dd4cd5564a19b0a221661205430e01c35673af.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r--meta/classes/ptest.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 98c913922d..ec10f80e68 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 = ""