]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/runqemu: Path fixes
authorSaul Wold <saul.wold@intel.com>
Wed, 21 Jul 2010 20:49:09 +0000 (21:49 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 21 Jul 2010 20:49:09 +0000 (21:49 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
scripts/runqemu

index bb26f8b6332313fd6cb2d45ec96128712b53d587..82fc4e93b7d1fda2ca746554b601b962121f3d49 100755 (executable)
@@ -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