diff options
author | Jianxun Zhang <jianxun.zhang@linux.intel.com> | 2016-09-08 12:20:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-09 11:53:37 +0100 |
commit | 2984863f42e5a137cf9b5d557202d9d44c858369 (patch) | |
tree | 50e28feae5f9d50e5e0d908aa47782c5707c165a /meta/recipes-devtools/qemu | |
parent | e6c48b1213848757c3d3806a1985756bd7d5f30d (diff) | |
download | poky-2984863f42e5a137cf9b5d557202d9d44c858369.tar.gz |
qemu: fix: cp command cannot find tests/Makeflie
bitbake qemu
This error shows up:
ERROR: qemu-2.7.0-r1 do_install_ptest_base: Function failed:
do_install_ptest_base
...
cp: cannot stat '...tmp/work/core2-64-poky-linux/qemu/2.7.0-r1
/qemu-2.7.0/tests/Makefile: No such file or directory
...
Commit 46e7b70699d8bf4db08c8bb5111974318dd5416d in qemu project
renamed tests/Makefile to tests/Makefile.include, we apply the
same change in recipe accordingly to fix this issue.
Fixes [YOCTO #10245]
(From OE-Core rev: 7009a9309051061455fa7237e09796ef12c9e308)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index d724aa4bd9..b46e7f72e2 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -76,7 +76,7 @@ do_install_ptest() { | |||
76 | cp -rL ${B}/tests ${D}${PTEST_PATH} | 76 | cp -rL ${B}/tests ${D}${PTEST_PATH} |
77 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} | 77 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} |
78 | 78 | ||
79 | cp ${S}/tests/Makefile ${D}${PTEST_PATH}/tests | 79 | cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests |
80 | } | 80 | } |
81 | 81 | ||
82 | do_install () { | 82 | do_install () { |