summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/ptest.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 508ea9a48e..06dddf7908 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -53,3 +53,8 @@ do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}"
53addtask configure_ptest_base after do_configure before do_compile 53addtask configure_ptest_base after do_configure before do_compile
54addtask compile_ptest_base after do_compile before do_install 54addtask compile_ptest_base after do_compile before do_install
55addtask install_ptest_base after do_install before do_package 55addtask install_ptest_base after do_install before do_package
56
57python () {
58 if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
59 d.setVarFlag('do_install_ptest_base', 'fakeroot', 1)
60}