diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-09-03 18:34:24 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-09-07 11:22:54 +0100 |
commit | 9b800fe261650e4300795ce9762422d93cd31251 (patch) | |
tree | eee1bd6e1909a46dd5b5656b73a56942fdd2aa94 /scripts/poky-extract-sdk | |
parent | c97f3a5df4f498ec663d0bde88ed2652dd4db181 (diff) | |
download | openembedded-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-extract-sdk')
-rwxr-xr-x | scripts/poky-extract-sdk | 2 |
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 exit 1 fi . $SYSROOT_SETUP_SCRIPT -PSEUDO_OPTS="-P $NATIVE_SYSROOT_DIR/usr" +PSEUDO_OPTS="-P $POKY_NATIVE_SYSROOT/usr" ROOTFS_TARBALL=$1 SDK_ROOTFS_DIR=$2 |