summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-07 23:30:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-16 15:09:21 +0100
commitc5c80d9edcaabd35be38938ad8d991c91cee48f8 (patch)
tree53cc6c5689db173ef84c585f8f2afbc5b9365a1f /meta
parent6e8313de403538157f086dfbf589896035e7126f (diff)
downloadpoky-c5c80d9edcaabd35be38938ad8d991c91cee48f8.tar.gz
ptest: add dirs flag to ptest tasks
The ptest configure/compile/install tasks mirror the base configure/compile/install tasks, so add an explicit dirs flag to ensure they mkdir() and chdir() the right directory. (From OE-Core rev: 2b407176091c5a8697260c79f7559c933f38c317) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/ptest.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 101ab9df4a..2ac9143abe 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -46,6 +46,9 @@ do_install_ptest_base() {
46 fi 46 fi
47} 47}
48 48
49do_configure_ptest_base[dirs] = "${B}"
50do_compile_ptest_base[dirs] = "${B}"
51do_install_ptest_base[dirs] = "${B}"
49do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}" 52do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}"
50 53
51addtask configure_ptest_base after do_configure before do_compile 54addtask configure_ptest_base after do_configure before do_compile