summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2013-05-09 13:20:58 +0200
committerJan Luebbe <jlu@pengutronix.de>2013-05-09 13:20:58 +0200
commit0a4f7ccb82bed92e7e3f97b4e75f5c78434d59b0 (patch)
treea860257dcc0539b067a549634ddeb1a46eeb57bd
parentd635a37e47713a7c878f7ac62346b0749ab23ade (diff)
downloadplatform-pengutronix-versatilepb-0a4f7ccb82bed92e7e3f97b4e75f5c78434d59b0.tar.gz
platform-pengutronix-versatilepb-0a4f7ccb82bed92e7e3f97b4e75f5c78434d59b0.tar.xz
versatilepb: switch to host-qemu
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
-rwxr-xr-xrun7
1 files changed, 6 insertions, 1 deletions
diff --git a/run b/run
index d5d7229..f3bd232 100755
--- a/run
+++ b/run
@@ -38,7 +38,12 @@ if [ ! -e "${PTXDIST_PLATFORMDIR}/images/hd.img" ]; then
fi
# the emulator to run
-QEMU_EXEC=qemu-system-${PTXCONF_ARCH_STRING}
+QEMU_EXEC="${PTXDIST_PLATFORMDIR}/sysroot-host/bin/qemu-system-arm"
+
+if [ ! -e "${QEMU_EXEC}" ]; then
+ echo "error: enable and install 'host-qemu' first"
+ exit 1
+fi
# disable this, if you want to have some graphics output
QEMU_NOGRAPHIC=-nographic