From: Zhenhua Luo Date: Tue, 13 Sep 2016 02:56:18 +0000 (+0800) Subject: qemu-qoriq: fix do_install_ptest_base issue X-Git-Tag: 2.2~256 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8c208e11b47e74ba94c3cbbb58db8801eeb6e5c9;p=meta-freescale.git 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 Signed-off-by: Otavio Salvador --- diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index d7651fbc..5ae7d025 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -72,6 +72,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"