aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/poky-find-native-sysroot
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 17:55:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 18:47:31 +0100
commitc056aeaa13549b404088e3d465f3b03443e5ab88 (patch)
tree6893bfe7bce94706e67e3c40a6ef0695d616a772 /scripts/poky-find-native-sysroot
parent16e7d595987634e503104395663f7084108ced9a (diff)
downloadopenembedded-core-contrib-c056aeaa13549b404088e3d465f3b03443e5ab88.tar.gz
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/poky-find-native-sysroot')
-rwxr-xr-xscripts/poky-find-native-sysroot14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/poky-find-native-sysroot b/scripts/poky-find-native-sysroot
index 226229421c..d44fd9536e 100755
--- a/scripts/poky-find-native-sysroot
+++ b/scripts/poky-find-native-sysroot
@@ -2,7 +2,7 @@
#
# Find a native sysroot to use - either from an in-tree Poky build or
# from a toolchain installation. It then ensures the variable
-# $POKY_NATIVE_SYSROOT is set to the sysroot's base directory, and sets
+# $OECORE_NATIVE_SYSROOT is set to the sysroot's base directory, and sets
# $PSEUDO to the path of the pseudo binary.
#
# This script is intended to be run within other scripts by source'ing
@@ -30,7 +30,7 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-if [ -z "$POKY_NATIVE_SYSROOT" ]; then
+if [ -z "$OECORE_NATIVE_SYSROOT" ]; then
BITBAKE=`which bitbake`
if [ "x$BITBAKE" != "x" ]; then
if [ "$UID" = "0" ]; then
@@ -40,10 +40,10 @@ if [ -z "$POKY_NATIVE_SYSROOT" ]; then
exit 1
fi
touch conf/sanity.conf
- POKY_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2`
+ OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2`
rm -f conf/sanity.conf
else
- POKY_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2`
+ OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2`
fi
else
echo "Error: Unable to locate your native sysroot."
@@ -56,8 +56,8 @@ if [ -z "$POKY_NATIVE_SYSROOT" ]; then
fi
# Set up pseudo command
-if [ ! -e "$POKY_NATIVE_SYSROOT/usr/bin/pseudo" ]; then
- echo "Error: Unable to find pseudo binary in $POKY_NATIVE_SYSROOT/usr/bin/"
+if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/bin/pseudo" ]; then
+ echo "Error: Unable to find pseudo binary in $OECORE_NATIVE_SYSROOT/usr/bin/"
if [ "x$POKY_DISTRO_VERSION" = "x" ]; then
echo "Have you run 'bitbake meta-ide-support'?"
@@ -69,4 +69,4 @@ if [ ! -e "$POKY_NATIVE_SYSROOT/usr/bin/pseudo" ]; then
exit 1
fi
fi
-PSEUDO="$POKY_NATIVE_SYSROOT/usr/bin/pseudo"
+PSEUDO="$OECORE_NATIVE_SYSROOT/usr/bin/pseudo"