diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index d3643a626e..aa37974091 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -40,6 +40,9 @@ if [ "x$2" != "x" ]; then | |||
40 | TYPE=$2 | 40 | TYPE=$2 |
41 | else | 41 | else |
42 | TYPE="ext2" | 42 | TYPE="ext2" |
43 | if [ "$MACHINE" = "akita" ]; then | ||
44 | TYPE="jffs2" | ||
45 | fi | ||
43 | fi | 46 | fi |
44 | 47 | ||
45 | if [ "x$3" != "x" ]; then | 48 | if [ "x$3" != "x" ]; then |
@@ -57,7 +60,6 @@ if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "spitz" -o "$MACHINE" = "borzoi" -o | |||
57 | CROSSPATH=$BUILDDIR/tmp/cross/arm-poky-linux/bin | 60 | CROSSPATH=$BUILDDIR/tmp/cross/arm-poky-linux/bin |
58 | fi | 61 | fi |
59 | 62 | ||
60 | |||
61 | if [ "$MACHINE" = "qemuarm" ]; then | 63 | if [ "$MACHINE" = "qemuarm" ]; then |
62 | if [ "$TYPE" = "ext2" ]; then | 64 | if [ "$TYPE" = "ext2" ]; then |
63 | if [ "x$HDIMAGE" = "x" ]; then | 65 | if [ "x$HDIMAGE" = "x" ]; then |
@@ -66,6 +68,14 @@ if [ "$MACHINE" = "qemuarm" ]; then | |||
66 | fi | 68 | fi |
67 | fi | 69 | fi |
68 | 70 | ||
71 | if [ "$MACHINE" = "akita" ]; then | ||
72 | if [ "$TYPE" = "jffs2" ]; then | ||
73 | if [ "x$HDIMAGE" = "x" ]; then | ||
74 | HDIMAGE=$BUILDDIR/tmp/deploy/images/oh-image-pda-akita.jffs2 | ||
75 | fi | ||
76 | fi | ||
77 | fi | ||
78 | |||
69 | if [ "$MACHINE" = "qemux86" ]; then | 79 | if [ "$MACHINE" = "qemux86" ]; then |
70 | if [ "x$ZIMAGE" = "x" ]; then | 80 | if [ "x$ZIMAGE" = "x" ]; then |
71 | ZIMAGE=$BUILDDIR/tmp/deploy/images/bzImage-$MACHINE.bin | 81 | ZIMAGE=$BUILDDIR/tmp/deploy/images/bzImage-$MACHINE.bin |