From 86db48cd17bb2853e2074cc5625e005faf09ce87 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 29 Jan 2007 17:03:29 +0000 Subject: scripts: Add framework for supporting akita images under qemu git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1214 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- scripts/runqemu | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'scripts/runqemu') 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 TYPE=$2 else TYPE="ext2" + if [ "$MACHINE" = "akita" ]; then + TYPE="jffs2" + fi fi if [ "x$3" != "x" ]; then @@ -57,7 +60,6 @@ if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "spitz" -o "$MACHINE" = "borzoi" -o CROSSPATH=$BUILDDIR/tmp/cross/arm-poky-linux/bin fi - if [ "$MACHINE" = "qemuarm" ]; then if [ "$TYPE" = "ext2" ]; then if [ "x$HDIMAGE" = "x" ]; then @@ -66,6 +68,14 @@ if [ "$MACHINE" = "qemuarm" ]; then fi fi +if [ "$MACHINE" = "akita" ]; then + if [ "$TYPE" = "jffs2" ]; then + if [ "x$HDIMAGE" = "x" ]; then + HDIMAGE=$BUILDDIR/tmp/deploy/images/oh-image-pda-akita.jffs2 + fi + fi +fi + if [ "$MACHINE" = "qemux86" ]; then if [ "x$ZIMAGE" = "x" ]; then ZIMAGE=$BUILDDIR/tmp/deploy/images/bzImage-$MACHINE.bin -- cgit 1.2.3-korg