diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-01-31 18:45:32 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-01-31 18:45:32 +0000 |
| commit | 5bc44c708b5bff662256300e6defbf0fec659788 (patch) | |
| tree | 255d02e99255a6ac9c3f72db2ecb57c67a922c89 /scripts/runqemu | |
| parent | 23ee199a9219df0a1ba2efa5f732b787de022bf6 (diff) | |
| download | poky-5bc44c708b5bff662256300e6defbf0fec659788.tar.gz | |
scripts: Fix sdk compiler location handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3652 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'scripts/runqemu')
| -rwxr-xr-x | scripts/runqemu | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 0176e636a8..070d371c62 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -25,9 +25,6 @@ fi | |||
| 25 | 25 | ||
| 26 | INTERNAL_SCRIPT=`which poky-qemu-internal` | 26 | INTERNAL_SCRIPT=`which poky-qemu-internal` |
| 27 | 27 | ||
| 28 | SDKDIR=/usr/local/poky/eabi-glibc/arm/bin/ | ||
| 29 | PATH=$BUILDDIR/tmp/staging/$BUILD_SYS/usr/bin:$BUILDDIR/tmp/cross/bin:$SDKDIR:$PATH | ||
| 30 | |||
| 31 | if [ "x$1" = "x" ]; then | 28 | if [ "x$1" = "x" ]; then |
| 32 | echo | 29 | echo |
| 33 | echo "Run as $0 MACHINE IMAGETYPE ZIMAGE IMAGEFILE" | 30 | echo "Run as $0 MACHINE IMAGETYPE ZIMAGE IMAGEFILE" |
| @@ -118,7 +115,7 @@ if [ "$MACHINE" = "qemux86" ]; then | |||
| 118 | CROSSPATH=$BUILDDIR/tmp/cross/i586-poky-linux/bin | 115 | CROSSPATH=$BUILDDIR/tmp/cross/i586-poky-linux/bin |
| 119 | fi | 116 | fi |
| 120 | 117 | ||
| 121 | export PATH=$CROSSPATH:$PATH | 118 | CROSSPATH=$BUILDDIR/tmp/staging/$BUILD_SYS/usr/bin:$CROSSPATH:$BUILDDIR/tmp/cross/bin |
| 122 | 119 | ||
| 123 | if [ ! -e $CROSSPATH/cc ]; then | 120 | if [ ! -e $CROSSPATH/cc ]; then |
| 124 | ln -s $CROSSPATH/gcc $CROSSPATH/cc | 121 | ln -s $CROSSPATH/gcc $CROSSPATH/cc |
