]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: fix the makefile for ptest
authorJackie Huang <jackie.huang@windriver.com>
Tue, 28 Nov 2017 07:01:09 +0000 (15:01 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Dec 2017 14:36:58 +0000 (14:36 +0000)
It always fail to check the file generated by configure
when running ptest on the target since it's cross-compiling,
so remove the check from the Makefile for ptest.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/qemu/qemu_2.10.1.bb

index 8e3ca3c9490bb2900484fac6de63d951987b7d57..5ac221c9ed0aba9fa11a9e037ad44a0c26a8dfdd 100644 (file)
@@ -55,5 +55,8 @@ do_install_ptest() {
        find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {}
 
        cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests
+       # Don't check the file genreated by configure
+       sed -i -e '/wildcard config-host.mak/d' \
+              -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include
 }