summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-07-15 14:53:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-23 18:23:16 -0700
commit6890c02ec4538b82b694deaba39e9921af4e3f47 (patch)
treebf4dd46fca8bd9569df23b5c31d3fcd7f0db0021 /meta/classes
parent282773ff3e0f365c08ae7e8fe759029f33e575b1 (diff)
downloadopenembedded-core-6890c02ec4538b82b694deaba39e9921af4e3f47.tar.gz
openembedded-core-6890c02ec4538b82b694deaba39e9921af4e3f47.tar.bz2
openembedded-core-6890c02ec4538b82b694deaba39e9921af4e3f47.tar.xz
openembedded-core-6890c02ec4538b82b694deaba39e9921af4e3f47.zip
Use OECORE_DISTRO_VERSION instead of POKY_DISTRO_VERSION
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/toolchain-scripts.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index f7b52be75..b7e4e04ea 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