summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2014-05-20 12:07:37 +0200
committerJuergen Borleis <jbe@pengutronix.de>2014-05-20 12:07:37 +0200
commit4e47106aa049aa0bedd8e129903f077c3a802f80 (patch)
tree859c1ea0f2bf7ed79d68ca48773096043791cddb
parente194725075c154298cbbc5990d4612cf51acfe1d (diff)
Platform/i586: adapt our script to the current QEMU implementation
We emulating an i386, so QEMU's name ends with i386 as well. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
-rwxr-xr-xconfigs/i586-qemu/run11
1 files changed, 2 insertions, 9 deletions
diff --git a/configs/i586-qemu/run b/configs/i586-qemu/run
index 1c57e41..db05dc5 100755
--- a/configs/i586-qemu/run
+++ b/configs/i586-qemu/run
@@ -33,15 +33,8 @@ if [ ! -e "${PTXDIST_PLATFORMDIR}/images/hd.img" ]; then
fi
# the emulator to run
-if test "${PTXCONF_ARCH_STRING}" = "i386"; then
- ARCH_STRING="x86_64"
- # Machine to emulate
- QEMU_MACHINE=pc
-else
- ARCH_STRING="${PTXCONF_ARCH_STRING}"
- # Machine to emulate
- QEMU_MACHINE=${PTXCONF_PLATFORM}
-fi
+ARCH_STRING="i386"
+QEMU_MACHINE=pc
# we should prefer the QEMU which comes with this BSP
QEMU_EXEC_PATH="${PTXCONF_SYSROOT_HOST}/bin"