summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-07-05 22:42:14 +0000
committerRichard Purdie <richard@openedhand.com>2007-07-05 22:42:14 +0000
commit823dcb9c76a640e8966e933251873c710862271a (patch)
treeeb35496d1539dea4fe4eec6d0c8b8fd2ae580380 /scripts/runqemu
parenta5e790a6fcc38b04054897dc6514b32e28212f6d (diff)
downloadpoky-823dcb9c76a640e8966e933251873c710862271a.tar.gz
runqemu: Use pda image if sdk image not available for qemu machines
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2121 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index c8546ddadf..aa796fbd5d 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -69,11 +69,11 @@ if [ "$MACHINE" = "qemuarm" ]; then
69 if [ "$TYPE" = "ext2" ]; then 69 if [ "$TYPE" = "ext2" ]; then
70 if [ "x$HDIMAGE" = "x" ]; then 70 if [ "x$HDIMAGE" = "x" ]; then
71 T=$BUILDDIR/tmp/deploy/images/poky-image- 71 T=$BUILDDIR/tmp/deploy/images/poky-image-
72 if [ -x "$T-sdk-qemuarm.ext2" ]; then 72 if [ -e "$T-sdk-qemuarm.ext2" ]; then
73 HDIMAGE=$T-sdk-qemuarm.ext2 73 HDIMAGE=$T-sdk-qemuarm.ext2
74 elif [ -x "$T-pda-qemuarm.ext2" ]; then 74 elif [ -e "$T-pda-qemuarm.ext2" ]; then
75 HDIMAGE=$T-pda-qemuarm.ext2 75 HDIMAGE=$T-pda-qemuarm.ext2
76 fi 76 fi
77 fi 77 fi
78 fi 78 fi
79fi 79fi
@@ -101,9 +101,9 @@ if [ "$MACHINE" = "qemux86" ]; then
101 if [ "$TYPE" = "ext2" ]; then 101 if [ "$TYPE" = "ext2" ]; then
102 if [ "x$HDIMAGE" = "x" ]; then 102 if [ "x$HDIMAGE" = "x" ]; then
103 T=$BUILDDIR/tmp/deploy/images/poky-image- 103 T=$BUILDDIR/tmp/deploy/images/poky-image-
104 if [ -x "$T-sdk-qemux86.ext2" ]; then 104 if [ -e "$T-sdk-qemux86.ext2" ]; then
105 HDIMAGE=$T-sdk-qemux86.ext2 105 HDIMAGE=$T-sdk-qemux86.ext2
106 elif [ -x "$T-pda-qemux86.ext2" ]; then 106 elif [ -e "$T-pda-qemux86.ext2" ]; then
107 HDIMAGE=$T-pda-qemux86.ext2 107 HDIMAGE=$T-pda-qemux86.ext2
108 fi 108 fi
109 fi 109 fi