summaryrefslogtreecommitdiffstats
path: root/scripts/poky-extract-sdk
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-extract-sdk
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-extract-sdk')
-rwxr-xr-xscripts/poky-extract-sdk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poky-extract-sdk b/scripts/poky-extract-sdk
index 70bc44b79b..977adde1a6 100755
--- a/scripts/poky-extract-sdk
+++ b/scripts/poky-extract-sdk
@@ -36,7 +36,7 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
36 exit 1 36 exit 1
37fi 37fi
38. $SYSROOT_SETUP_SCRIPT 38. $SYSROOT_SETUP_SCRIPT
39PSEUDO_OPTS="-P $NATIVE_SYSROOT_DIR/usr" 39PSEUDO_OPTS="-P $POKY_NATIVE_SYSROOT/usr"
40 40
41ROOTFS_TARBALL=$1 41ROOTFS_TARBALL=$1
42SDK_ROOTFS_DIR=$2 42SDK_ROOTFS_DIR=$2