summaryrefslogtreecommitdiffstats
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)
downloadpoky-9b800fe261650e4300795ce9762422d93cd31251.tar.gz
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
71if [ "$TAP" = "" ]; then 71if [ "$TAP" = "" ]; then
72 GROUPID=`id -g` 72 GROUPID=`id -g`
73 echo 'Setting up tap interface under sudo' 73 echo 'Setting up tap interface under sudo'
74 TAP=`sudo $QEMUIFUP $GROUPID $NATIVE_SYSROOT_DIR` 74 TAP=`sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT`
75 if [ $? -ne 0 ]; then 75 if [ $? -ne 0 ]; then
76 # Re-run standalone to see verbose errors 76 # Re-run standalone to see verbose errors
77 sudo $QEMUIFUP $GROUPID $NATIVE_SYSROOT_DIR 77 sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT
78 return 78 return
79 fi 79 fi
80 LOCKFILE="" 80 LOCKFILE=""