From 0c3b1aa0a5461c9b5f3833feb091f7c8a459ca9b Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 21 Jul 2010 21:49:09 +0100 Subject: scripts/runqemu: Path fixes Signed-off-by: Richard Purdie --- scripts/runqemu | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'scripts/runqemu') diff --git a/scripts/runqemu b/scripts/runqemu index bb26f8b633..82fc4e93b7 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -35,7 +35,7 @@ if ! (test -d "$TMPDIR"); then fi SCRIPTSDIR=`dirname "$0"` -INTERNAL_SCRIPT=SCRIPTSDIR/poky-qemu-internal` +INTERNAL_SCRIPT=$SCRIPTSDIR/poky-qemu-internal if [ "x$1" = "x" ]; then echo @@ -116,34 +116,34 @@ fi if [ "$MACHINE" = "qemumips" ]; then if [ "x$ZIMAGE" = "x" ]; then - ZIMAGE=$TMPDIR/tmp/deploy/images/vmlinux-$MACHINE.bin + ZIMAGE=$TMPDIR/deploy/images/vmlinux-$MACHINE.bin fi if [ "$TYPE" = "ext3" ]; then if [ "x$HDIMAGE" = "x" ]; then - T=$TMPDIR/tmp/deploy/images + T=$TMPDIR/deploy/images findimage $T $MACHINE ext3 "poky-image-sdk poky-image-sato poky-image-minimal" fi fi - CROSSPATH=$TMPDIR/tmp/sysroots/$BUILD_SYS/usr + CROSSPATH=$TMPDIR/sysroots/$BUILD_SYS/usr fi if [ "$MACHINE" = "qemuppc" ]; then if [ "x$ZIMAGE" = "x" ]; then - ZIMAGE=$TMPDIR/tmp/deploy/images/zImage-$MACHINE.bin + ZIMAGE=$TMPDIR/deploy/images/zImage-$MACHINE.bin fi if [ "$TYPE" = "ext3" ]; then if [ "x$HDIMAGE" = "x" ]; then - T=$TMPDIR/tmp/deploy/images + T=$TMPDIR/deploy/images findimage $T $MACHINE ext3 "poky-image-sdk poky-image-sato poky-image-minimal" fi fi - CROSSPATH=$TMPDIR/tmp/sysroots/$BUILD_SYS/usr + CROSSPATH=$TMPDIR/sysroots/$BUILD_SYS/usr fi if [ "$MACHINE" = "spitz" ]; then if [ "$TYPE" = "ext3" ]; then if [ "x$HDIMAGE" = "x" ]; then - HDIMAGE=$TMPDIR/tmp/deploy/images/poky-image-sato-spitz.ext3 + HDIMAGE=$TMPDIR/deploy/images/poky-image-sato-spitz.ext3 fi fi fi @@ -151,7 +151,7 @@ fi if [ "$MACHINE" = "akita" ]; then if [ "$TYPE" = "jffs2" ]; then if [ "x$HDIMAGE" = "x" ]; then - HDIMAGE=$TMPDIR/tmp/deploy/images/poky-image-sato-akita.jffs2 + HDIMAGE=$TMPDIR/deploy/images/poky-image-sato-akita.jffs2 fi fi fi @@ -159,7 +159,7 @@ fi if [ "$MACHINE" = "nokia800" ]; then if [ "$TYPE" = "jffs2" ]; then if [ "x$HDIMAGE" = "x" ]; then - HDIMAGE=$TMPDIR/tmp/deploy/images/poky-image-sato-nokia800.jffs2 + HDIMAGE=$TMPDIR/deploy/images/poky-image-sato-nokia800.jffs2 fi fi fi @@ -167,15 +167,15 @@ fi if [ "$MACHINE" = "qemux86" ]; then if [ "x$ZIMAGE" = "x" ]; then - ZIMAGE=$TMPDIR/tmp/deploy/images/bzImage-$MACHINE.bin + ZIMAGE=$TMPDIR/deploy/images/bzImage-$MACHINE.bin fi if [ "$TYPE" = "ext3" ]; then if [ "x$HDIMAGE" = "x" ]; then - T=$TMPDIR/tmp/deploy/images + T=$TMPDIR/deploy/images findimage $T qemux86 ext3 "moblin-image-sdk moblin-image-netbook poky-image-sdk poky-image-sato poky-image-minimal" fi fi - CROSSPATH=$TMPDIR/tmp/sysroots/$BUILD_SYS/usr + CROSSPATH=$TMPDIR/sysroots/$BUILD_SYS/usr fi if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "spitz" -o "$MACHINE" = "borzoi" -o "$MACHINE" = "akita" -o "$MACHINE" = "nokia800" ]; then @@ -194,6 +194,6 @@ if [ ! -e $CROSSPATH/$TARGET_SYS/bin/gcc ]; then ln -s $CROSSPATH/bin/$TARGET_SYS-gcc $CROSSPATH/$TARGET_SYS/bin/gcc fi -CROSSPATH=$TMPDIR/tmp/sysroots/$BUILD_SYS/usr/bin:$CROSSPATH:$TMPDIR/tmp/cross/bin +CROSSPATH=$TMPDIR/sysroots/$BUILD_SYS/usr/bin:$CROSSPATH:$TMPDIR/cross/bin . $INTERNAL_SCRIPT -- cgit v1.2.3-54-g00ecf