mirror of
https://git.yoctoproject.org/poky
synced 2026-07-15 15:37:03 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
e57a0bdfd4
commit
9a78cb7980
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user