diff options
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 050e799d4f..be5623bafe 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -47,6 +47,7 @@ toolchain_create_sdk_env_script () { echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script echo 'export ARCH=${ARCH}' >> $script + echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script } # This function creates an environment-setup-script in the TMPDIR which enables @@ -92,6 +93,7 @@ toolchain_create_tree_env_script () { echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script echo 'export ARCH=${ARCH}' >> $script + echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script } # This function creates an environment-setup-script for use by the ADT installer @@ -137,6 +139,7 @@ toolchain_create_sdk_env_script_for_installer () { echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script echo 'export ARCH=${ARCH}' >> $script + echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script } #we get the cached site config in the runtime |