diff options
author | Dennis Lan <dennis.yxun@gmail.com> | 2012-07-11 07:05:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:53:54 +0100 |
commit | 521cf2094242a74f5f098426d9b61cabd4adee0f (patch) | |
tree | 0ca37feb2f21bbae2edf459850b8d2046e4f06f3 /scripts/runqemu-internal | |
parent | 6c401a907c16401b524cc7fb21b345eece5fead0 (diff) | |
download | ast2050-yocto-poky-521cf2094242a74f5f098426d9b61cabd4adee0f.zip ast2050-yocto-poky-521cf2094242a74f5f098426d9b61cabd4adee0f.tar.gz |
runqemu/mips: adjust runqemu script to support mipsel machine
(From OE-Core rev: a12e2409af246d4c1d0e0c9a2457fb9c850bd8ca)
Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 041464d..a21ea93 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -236,6 +236,7 @@ fi case "$MACHINE" in "qemuarm") ;; "qemumips") ;; + "qemumipsel") ;; "qemumips64") ;; "qemush4") ;; "qemuppc") ;; @@ -375,12 +376,12 @@ if [ "$MACHINE" = "spitz" ]; then fi fi -if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumips64" ]; then - if [ "$MACHINE" = "qemumips64" ]; then - QEMU=qemu-system-mips64 - else - QEMU=qemu-system-mips - fi +if [ "$MACHINE" = "qemumips" -o "$MACHINE" = "qemumipsel" -o "$MACHINE" = "qemumips64" ]; then + case "$MACHINE" in + qemumips) QEMU=qemu-system-mips ;; + qemumipsel) QEMU=qemu-system-mipsel ;; + qemumips64) QEMU=qemu-system-mips64 ;; + esac MACHINE_SUBTYPE=malta QEMU_UI_OPTIONS="-vga cirrus $QEMU_UI_OPTIONS" if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then |