summaryrefslogtreecommitdiff
path: root/scripts/runqemu-nfs
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/runqemu-nfs
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/runqemu-nfs')
-rwxr-xr-xscripts/runqemu-nfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-nfs b/scripts/runqemu-nfs
index 79b41ca79a..19943a7648 100755
--- a/scripts/runqemu-nfs
+++ b/scripts/runqemu-nfs
@@ -93,7 +93,7 @@ fi
MACHINE=$QEMUARCH
TYPE="nfs"
HDIMAGE=$SDK_ROOTFS_DIR
-CROSSPATH=$NATIVE_SYSROOT_DIR/usr/bin
+CROSSPATH=$POKY_NATIVE_SYSROOT/usr/bin
. $QEMU_INTERNAL_SCRIPT
# Cleanup