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:04:32 +0100 |
commit | 9a78cb7980861291df8e8f8c6782735c9b4440ec (patch) | |
tree | a011b1c8fcad440dd44ec6cb0b1cdf383d286a3f /meta/classes | |
parent | e57a0bdfd47d14b03cd6d0337c4216b423fe965d (diff) | |
download | poky-9a78cb7980861291df8e8f8c6782735c9b4440ec.tar.gz |
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.
(From OE-Core rev: 5fbea0f2614d5bc9aec0819a337cdec9b5331f71)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 () { | |||
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 POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script |
33 | echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script | ||
33 | } | 34 | } |
34 | 35 | ||
35 | # 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 |
@@ -61,6 +62,8 @@ toolchain_create_tree_env_script () { | |||
61 | echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script | 62 | echo 'export OECORE_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script |
62 | echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script | 63 | echo 'export OECORE_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script |
63 | echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script | 64 | echo 'export OECORE_ACLOCAL_OPTS="-I ${STAGING_DIR_NATIVE}/usr/share/aclocal"' >> $script |
65 | echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script | ||
66 | echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script | ||
64 | } | 67 | } |
65 | 68 | ||
66 | # This function creates an environment-setup-script for use by the ADT installer | 69 | # This function creates an environment-setup-script for use by the ADT installer |