summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-internal
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 16:55:16 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 23:29:30 (GMT)
commit74695278555a35e2145a65f2e372edb70b380c20 (patch)
treed8f9bae7d5b60eecafb44b81fb427d09044a0102 /scripts/runqemu-internal
parent0441fe20e77907237a04e42a06991f3163daabb3 (diff)
downloadpoky-74695278555a35e2145a65f2e372edb70b380c20.tar.gz
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
(From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-xscripts/runqemu-internal8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 206e1cf..64374f2 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -161,10 +161,10 @@ if [ "$TAP" = "" ]; then
161 161
162 GROUPID=`id -g` 162 GROUPID=`id -g`
163 echo "Setting up tap interface under sudo" 163 echo "Setting up tap interface under sudo"
164 tap=`sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT` 164 tap=`sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT`
165 if [ $? -ne 0 ]; then 165 if [ $? -ne 0 ]; then
166 # Re-run standalone to see verbose errors 166 # Re-run standalone to see verbose errors
167 sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT 167 sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT
168 return 168 return
169 fi 169 fi
170 LOCKFILE="$LOCKDIR/$tap" 170 LOCKFILE="$LOCKDIR/$tap"
@@ -179,7 +179,7 @@ fi
179 179
180cleanup() { 180cleanup() {
181 if [ ! -e "$NOSUDO_FLAG" ]; then 181 if [ ! -e "$NOSUDO_FLAG" ]; then
182 sudo $QEMUIFDOWN $TAP $POKY_NATIVE_SYSROOT 182 sudo $QEMUIFDOWN $TAP $OECORE_NATIVE_SYSROOT
183 fi 183 fi
184 echo "Releasing lockfile of preconfigured tap device '$TAP'" 184 echo "Releasing lockfile of preconfigured tap device '$TAP'"
185 release_lock $LOCKFILE 185 release_lock $LOCKFILE
@@ -416,7 +416,7 @@ if [ "x$QEMUOPTIONS" = "x" ]; then
416 return 416 return
417fi 417fi
418 418
419PATH=$CROSSPATH:$POKY_NATIVE_SYSROOT/usr/bin:$PATH 419PATH=$CROSSPATH:$OECORE_NATIVE_SYSROOT/usr/bin:$PATH
420 420
421QEMUBIN=`which $QEMU` 421QEMUBIN=`which $QEMU`
422if [ ! -x "$QEMUBIN" ]; then 422if [ ! -x "$QEMUBIN" ]; then