From 9b800fe261650e4300795ce9762422d93cd31251 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Fri, 3 Sep 2010 18:34:24 +0100 Subject: 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 --- scripts/poky-qemu-internal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/poky-qemu-internal') 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="" -- cgit v1.2.3-54-g00ecf