Skip to contentSkip to conversation

qemu: fix the makefile for ptest

PATCH New [email protected] 1 participant 1 message Nov 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu: fix the makefile for ptest

From: Jackie Huang <[email protected]>

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.

---
 meta/recipes-devtools/qemu/qemu_2.10.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/qemu/qemu_2.10.1.bb +3 -0
index 8e3ca3c949..5ac221c9ed 100644
@@ -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
 }
 
Signature · 1 line
2.11.0