summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-qemu2
-rwxr-xr-xscripts/poky-qemu-internal14
2 files changed, 8 insertions, 8 deletions
diff --git a/scripts/poky-qemu b/scripts/poky-qemu
index caac03c25..c74a16f4a 100755
--- a/scripts/poky-qemu
+++ b/scripts/poky-qemu
@@ -18,7 +18,7 @@
if [ "x$1" = "x" ]; then
MYNAME=`basename $0`
- echo -e "\nRun as MACHINE=xyz $MYNAME ZIMAGE IMAGEFILE"
+ echo "Run as MACHINE=xyz $MYNAME ZIMAGE IMAGEFILE"
echo "where:"
echo " ZIMAGE - the kernel image file to use"
echo " IMAGEFILE - the image file/location to use"
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index e13f1b6db..a88f52ace 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -41,17 +41,17 @@ if [ "x$SERIAL_LOGFILE" != "x" ]; then
fi
if [ "$TYPE" != "nfs" -a ! -f "$HDIMAGE" ]; then
- echo -e "\nError, image file $HDIMAGE doesn't exist"
+ echo "Error, image file $HDIMAGE doesn't exist"
exit 1
fi
if [ ! -f "$ZIMAGE" ]; then
- echo -e "\nError, kernel image file $ZIMAGE doesn't exist"
+ echo "Error, kernel image file $ZIMAGE doesn't exist"
exit 1
fi
if [ "$MACHINE" != "qemuarm" -a "$MACHINE" != "qemux86" ]; then
- echo -e "\nError, unsupported machine type $MACHINE"
+ echo "Error, unsupported machine type $MACHINE"
exit 1
fi
@@ -65,7 +65,7 @@ if [ "$MACHINE" = "qemuarm" ]; then
HDIMAGE=/srv/nfs/qemuarm
fi
if [ ! -d "$HDIMAGE" ]; then
- echo -e "\nError, NFS mount point $HDIMAGE doesn't exist"
+ echo "Error, NFS mount point $HDIMAGE doesn't exist"
exit 1
fi
QEMUOPTIONS="-append \"root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD\" $QEMU_NETWORK_CMD -M versatilepb"
@@ -82,7 +82,7 @@ if [ "$MACHINE" = "qemux86" ]; then
HDIMAGE=/srv/nfs/qemux86
fi
if [ ! -d "$HDIMAGE" ]; then
- echo -e "\nError, NFS mount point $HDIMAGE doesn't exist."
+ echo "Error, NFS mount point $HDIMAGE doesn't exist."
exit 1
fi
QEMUOPTIONS="-std-vga -append \"root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD\" $QEMU_NETWORK_CMD"
@@ -118,11 +118,11 @@ if [ "$MACHINE" = "akita" ]; then
fi
if [ "x$QEMUOPTIONS" = "x" ]; then
- echo -e "\nError, unable to support this combination of options"
+ echo "Error, unable to support this combination of options"
exit 1
fi
-echo -e "\nRunning $QEMU using sudo..."
+echo "Running $QEMU using sudo..."
echo "$QEMU -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS"
sudo $QEMU -kernel $ZIMAGE $QEMUOPTIONS $SERIALOPTS