summaryrefslogtreecommitdiff
path: root/scripts/poky-qemu-internal
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-09-03 18:34:24 +0100
committerJoshua Lock <josh@linux.intel.com>2010-09-07 11:22:54 +0100
commit9b800fe261650e4300795ce9762422d93cd31251 (patch)
treeeee1bd6e1909a46dd5b5656b73a56942fdd2aa94 /scripts/poky-qemu-internal
parentc97f3a5df4f498ec663d0bde88ed2652dd4db181 (diff)
downloadopenembedded-core-9b800fe261650e4300795ce9762422d93cd31251.tar.gz
openembedded-core-9b800fe261650e4300795ce9762422d93cd31251.tar.bz2
openembedded-core-9b800fe261650e4300795ce9762422d93cd31251.zip
scripts: use the exported POKY_NATIVE_SYSROOT variable
Rather than trying to determine things through guess-work use the newly exported variables to determine where the native binaries reside and whether we are running in a build directory or not. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'scripts/poky-qemu-internal')
-rwxr-xr-xscripts/poky-qemu-internal4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index a9029dc63f..b529241cbf 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -71,10 +71,10 @@ done
if [ "$TAP" = "" ]; then
GROUPID=`id -g`
echo 'Setting up tap interface under sudo'
- TAP=`sudo $QEMUIFUP $GROUPID $NATIVE_SYSROOT_DIR`
+ TAP=`sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT`
if [ $? -ne 0 ]; then
# Re-run standalone to see verbose errors
- sudo $QEMUIFUP $GROUPID $NATIVE_SYSROOT_DIR
+ sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT
return
fi
LOCKFILE=""