diff options
author | Ross Burton <ross.burton@intel.com> | 2015-07-07 23:30:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:21 +0100 |
commit | c5c80d9edcaabd35be38938ad8d991c91cee48f8 (patch) | |
tree | 53cc6c5689db173ef84c585f8f2afbc5b9365a1f /meta | |
parent | 6e8313de403538157f086dfbf589896035e7126f (diff) | |
download | poky-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.bbclass | 3 |
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 | ||
49 | do_configure_ptest_base[dirs] = "${B}" | ||
50 | do_compile_ptest_base[dirs] = "${B}" | ||
51 | do_install_ptest_base[dirs] = "${B}" | ||
49 | do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}" | 52 | do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}" |
50 | 53 | ||
51 | addtask configure_ptest_base after do_configure before do_compile | 54 | addtask configure_ptest_base after do_configure before do_compile |