summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-08 09:21:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-10 15:24:12 +0100
commitd81ab9f8447a4df5f0641bd8e38a5c893cfe7c20 (patch)
treed17328ed2255cad96b1bf5532751d1ee7da6ecdb /meta
parent13bf7c129933d9fa5e0826879e6f42835104221c (diff)
downloadpoky-d81ab9f8447a4df5f0641bd8e38a5c893cfe7c20.tar.gz
qemu: When applying qemu-mips workaround, check the file exists first
If qemu-mips was disabled as done in some distros, this wrapper would fail. Therefore check if the file exists before wrapping it. (From OE-Core rev: 9ec1c06915b10d142bf5646396c4e91bb61a40a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/qemu/qemu_1.2.0.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_1.2.0.bb b/meta/recipes-devtools/qemu/qemu_1.2.0.bb
index cbdb4d472b..517a74b05e 100644
--- a/meta/recipes-devtools/qemu/qemu_1.2.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_1.2.0.bb
@@ -37,8 +37,10 @@ do_configure_prepend_virtclass-nativesdk() {
37# the qemu-mips works fine. 37# the qemu-mips works fine.
38# IMPORTANT: This piece needs to be removed once the root cause is fixed! 38# IMPORTANT: This piece needs to be removed once the root cause is fixed!
39do_install_append() { 39do_install_append() {
40 create_wrapper ${D}/${bindir}/qemu-mips \ 40 if [ -e "${D}/${bindir}/qemu-mips" ]; then
41 QEMU_RESERVED_VA=0x0 41 create_wrapper ${D}/${bindir}/qemu-mips \
42 QEMU_RESERVED_VA=0x0
43 fi
42} 44}
43# END of qemu-mips workaround 45# END of qemu-mips workaround
44 46