diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb index 3bfb5bde80..d2981b5575 100644 --- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb +++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | |||
@@ -9,7 +9,8 @@ do_install () { | |||
9 | 9 | ||
10 | echo "#!/bin/sh" > ${D}${bindir_crossscripts}/qemuwrapper | 10 | echo "#!/bin/sh" > ${D}${bindir_crossscripts}/qemuwrapper |
11 | qemu_binary=${@qemu_target_binary(d)} | 11 | qemu_binary=${@qemu_target_binary(d)} |
12 | echo "$qemu_binary \"\$@\"" >> ${D}${bindir_crossscripts}/qemuwrapper | 12 | qemu_options='${@d.getVar("QEMU_OPTIONS_%s" % d.getVar('PACKAGE_ARCH', True), True) or d.getVar('QEMU_OPTIONS', True) or ""}' |
13 | echo "$qemu_binary $qemu_options \"\$@\"" >> ${D}${bindir_crossscripts}/qemuwrapper | ||
13 | fallback_qemu_bin= | 14 | fallback_qemu_bin= |
14 | case $qemu_binary in | 15 | case $qemu_binary in |
15 | "qemu-i386") | 16 | "qemu-i386") |