diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-15 14:53:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 18:23:33 -0700 |
commit | 505be75bbf004b822deb01c0a06b981402f952d1 (patch) | |
tree | 85783688d814f2d2ac79d0f7216a32479a35c978 | |
parent | b6bd7133c269c40fb9ee1ae66f1cb256fd9a7aa4 (diff) | |
download | openembedded-core-contrib-505be75bbf004b822deb01c0a06b981402f952d1.tar.gz |
Use OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION
(From OE-Core rev: 6890c02ec4538b82b694deaba39e9921af4e3f47)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 12 | ||||
-rwxr-xr-x | scripts/oe-find-native-sysroot | 2 | ||||
-rwxr-xr-x | scripts/runqemu-export-rootfs | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index f7b52be752..b7e4e04eaf 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -29,8 +29,8 @@ toolchain_create_sdk_env_script () { echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script echo 'export OECORE_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/aclocal"' >> $script - echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script - echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script + echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script + echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script } # This function creates an environment-setup-script in the TMPDIR which enables @@ -63,8 +63,8 @@ toolchain_create_tree_env_script () { echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script - echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script - echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script + echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script + echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script } # This function creates an environment-setup-script for use by the ADT installer @@ -97,8 +97,8 @@ toolchain_create_sdk_env_script_for_installer () { echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script echo 'export OECORE_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/acloal"' >> $script - echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script - echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script + echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script + echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script } #This function create a site config file diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot index 26fc730c60..b99014b52e 100755 --- a/scripts/oe-find-native-sysroot +++ b/scripts/oe-find-native-sysroot @@ -59,7 +59,7 @@ fi 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 + if [ "x$OECORE_DISTRO_VERSION" = "x" ]; then echo "Have you run 'bitbake meta-ide-support'?" else echo "This shouldn't happen - something is wrong with your toolchain installation" diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs index 6b4aee8116..6f4604d9a6 100755 --- a/scripts/runqemu-export-rootfs +++ b/scripts/runqemu-export-rootfs @@ -49,7 +49,7 @@ fi if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then echo "Error: Unable to find rpc.mountd binary in $OECORE_NATIVE_SYSROOT/usr/sbin/" - if [ "x$POKY_DISTRO_VERSION" = "x" ]; then + if [ "x$OECORE_DISTRO_VERSION" = "x" ]; then echo "Have you run 'bitbake meta-ide-support'?" else echo "This shouldn't happen - something is missing from your toolchain installation" |