diff options
author | Zhenhua Luo <zhenhua.luo@nxp.com> | 2016-09-18 16:24:41 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2016-09-18 16:24:41 +0800 |
commit | 80bf152760cfe5bfb5c08d65e521a7d03d704c85 (patch) | |
tree | 32a4f070602adcb2583ab7e72fff485ae7585dcf | |
parent | 520c753c38ec9fb9d6b9c6c63933ed6c658b4b7c (diff) | |
download | meta-fsl-ppc-80bf152760cfe5bfb5c08d65e521a7d03d704c85.tar.gz meta-fsl-ppc-80bf152760cfe5bfb5c08d65e521a7d03d704c85.tar.bz2 meta-fsl-ppc-80bf152760cfe5bfb5c08d65e521a7d03d704c85.zip |
qemu-qoriq: fix do_install_ptest_base issue
Fix the following build error:
| DEBUG: Executing shell function do_install_ptest_base
| cp: cannot stat '.../qemu-qoriq/git-r1/git/tests/Makefile.include': No such file or directory
| WARNING: exit code 1 from a shell command.
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
-rw-r--r-- | recipes-devtools/qemu/qemu-qoriq_git.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index c70ed14..30daf5f 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -63,6 +63,13 @@ do_install_append() { if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi } +do_install_ptest() { + cp -rL ${B}/tests ${D}${PTEST_PATH} + find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} + + cp ${S}/tests/Makefile ${D}${PTEST_PATH}/tests +} + FILES_${PN} += "${datadir}/qemu/" INSANE_SKIP_${PN} += "dev-deps" |