summaryrefslogtreecommitdiffstats
path: root/scripts/poky-qemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-qemu')
-rwxr-xr-xscripts/poky-qemu11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/poky-qemu b/scripts/poky-qemu
index 6c53b07723..9a5ed7722e 100755
--- a/scripts/poky-qemu
+++ b/scripts/poky-qemu
@@ -29,16 +29,19 @@ else
29 ZIMAGE=$1 29 ZIMAGE=$1
30fi 30fi
31 31
32if [ "x$MACHINE" = "x" ]; then
33 MACHINE=`basename $ZIMAGE | sed -r -e 's#.*-([a-z]+[0-9]*)-?[0-9]*..*#\1#'`
34fi
35
32if [ "x$2" = "x" ]; then 36if [ "x$2" = "x" ]; then
33 TYPE="nfs" 37 TYPE="nfs"
34else 38else
35 TYPE="ext2" 39 TYPE="ext2"
40 if [ "$MACHINE" = "akita" ]; then
41 TYPE="jffs2"
42 fi
36 HDIMAGE=$2 43 HDIMAGE=$2
37fi 44fi
38 45
39if [ "x$MACHINE" = "x" ]; then
40 MACHINE=`basename $ZIMAGE | sed -r -e 's#.*-([a-z]+[0-9]*)-?[0-9]*..*#\1#'`
41fi
42
43INTERNAL_SCRIPT=`which poky-qemu-internal` 46INTERNAL_SCRIPT=`which poky-qemu-internal`
44. $INTERNAL_SCRIPT 47. $INTERNAL_SCRIPT