[oe-commits] [openembedded-core] 18/57: qemu: fix the makefile for ptest

git at git.openembedded.org git at git.openembedded.org
Sat Dec 9 14:44:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 839f5ed91a8061506b1f71661ec4006783146672
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Tue Nov 28 15:01:09 2017 +0800

    qemu: fix the makefile for ptest
    
    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 at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/qemu/qemu_2.10.1.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/qemu/qemu_2.10.1.bb b/meta/recipes-devtools/qemu/qemu_2.10.1.bb
index 8e3ca3c..5ac221c 100644
--- a/meta/recipes-devtools/qemu/qemu_2.10.1.bb
+++ b/meta/recipes-devtools/qemu/qemu_2.10.1.bb
@@ -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
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list