diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2011-08-01 15:50:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-04 15:01:17 +0100 |
commit | 5fbea0f2614d5bc9aec0819a337cdec9b5331f71 (patch) | |
tree | cc2bf8a0e2491d0ae2ff815a2dd6dc954b60472f /meta/classes/toolchain-scripts.bbclass | |
parent | 3952db3f254e5c57a13e3a8244c76405aa3db00d (diff) | |
download | openembedded-core-5fbea0f2614d5bc9aec0819a337cdec9b5331f71.tar.gz openembedded-core-5fbea0f2614d5bc9aec0819a337cdec9b5331f71.tar.bz2 openembedded-core-5fbea0f2614d5bc9aec0819a337cdec9b5331f71.zip |
environment files: Added and unified version related variables.
[YOCTO #1306] Fixing.
Added and unified version related variables in all environment files
generated by package meta-toolchain, meta-ide-support,
meta-environment-xxx.
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 832cce41a9..fe11e7278e 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -30,6 +30,7 @@ toolchain_create_sdk_env_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 } # This function creates an environment-setup-script in the TMPDIR which enables @@ -61,6 +62,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 } # This function creates an environment-setup-script for use by the ADT installer |