From 74695278555a35e2145a65f2e372edb70b380c20 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 20 Apr 2011 17:55:16 +0100 Subject: POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT (From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88) Signed-off-by: Richard Purdie --- scripts/poky-find-native-sysroot | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'scripts/poky-find-native-sysroot') 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" -- cgit v1.2.3-54-g00ecf