summaryrefslogtreecommitdiffstats
path: root/meta/classes/toolchain-scripts.bbclass
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:33 -0700
commit505be75bbf004b822deb01c0a06b981402f952d1 (patch)
tree85783688d814f2d2ac79d0f7216a32479a35c978 /meta/classes/toolchain-scripts.bbclass
parentb6bd7133c269c40fb9ee1ae66f1cb256fd9a7aa4 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-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 f7b52be752..b7e4e04eaf 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -29,8 +29,8 @@ toolchain_create_sdk_env_script () {
29 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 29 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
30 echo 'export OECORE_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script 30 echo 'export OECORE_TARGET_SYSROOT="${SDKTARGETSYSROOT}"' >> $script
31 echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/aclocal"' >> $script 31 echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/aclocal"' >> $script
32 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 32 echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
33 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script 33 echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
34} 34}
35 35
36# This function creates an environment-setup-script in the TMPDIR which enables 36# This function creates an environment-setup-script in the TMPDIR which enables
@@ -63,8 +63,8 @@ toolchain_create_tree_env_script () {
63 echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script 63 echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script
64 echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script 64 echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script
65 echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script 65 echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script
66 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 66 echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
67 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script 67 echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
68} 68}
69 69
70# This function creates an environment-setup-script for use by the ADT installer 70# This function creates an environment-setup-script for use by the ADT installer
@@ -97,8 +97,8 @@ toolchain_create_sdk_env_script_for_installer () {
97 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 97 echo 'export OECORE_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
98 echo 'export OECORE_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script 98 echo 'export OECORE_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script
99 echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/acloal"' >> $script 99 echo 'export OECORE_ACLOCAL_OPTS="-I ${SDKPATHNATIVE}/usr/share/acloal"' >> $script
100 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 100 echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
101 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script 101 echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
102} 102}
103 103
104#This function create a site config file 104#This function create a site config file