summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu-internal6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 6b8bb65..0f07bad 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -472,7 +472,11 @@ if [ "x$QEMUOPTIONS" = "x" ]; then
472 return 472 return
473fi 473fi
474 474
475PATH=$CROSSPATH:$OECORE_NATIVE_SYSROOT/usr/bin:$PATH 475if [ "x$CROSSPATH" = "x" ]; then
476 PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$PATH
477else
478 PATH=$CROSSPATH:$OECORE_NATIVE_SYSROOT/usr/bin:$PATH
479fi
476 480
477QEMUBIN=`which $QEMU 2> /dev/null` 481QEMUBIN=`which $QEMU 2> /dev/null`
478if [ ! -x "$QEMUBIN" ]; then 482if [ ! -x "$QEMUBIN" ]; then