summaryrefslogtreecommitdiffstats
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:26:26 +0000
commitd32d08fd4891bc6998349875eb2deb36bb7322c8 (patch)
tree06d78905ccb8ce04b8718b282650abe9c53151dc /meta/classes/ptest.bbclass
parentf857b62b8ac78b49b1cbb98c021ad19eb6d04508 (diff)
downloadpoky-d32d08fd4891bc6998349875eb2deb36bb7322c8.tar.gz
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) (From OE-Core rev: 16dd4cd5564a19b0a221661205430e01c35673af) 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}"
7SECTION_${PN}-ptest = "devel" 7SECTION_${PN}-ptest = "devel"
8ALLOW_EMPTY_${PN}-ptest = "1" 8ALLOW_EMPTY_${PN}-ptest = "1"
9PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" 9PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
10PTEST_ENABLED_class-native = ""
10RDEPENDS_${PN}-ptest_virtclass-native = "" 11RDEPENDS_${PN}-ptest_virtclass-native = ""
11RDEPENDS_${PN}-ptest_virtclass-nativesdk = "" 12RDEPENDS_${PN}-ptest_virtclass-nativesdk = ""
12 13