diff options
Diffstat (limited to 'meta')
-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 () { | |||
47 | echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script | 47 | echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script |
48 | echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script | 48 | echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script |
49 | echo 'export ARCH=${ARCH}' >> $script | 49 | echo 'export ARCH=${ARCH}' >> $script |
50 | echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script | ||
50 | } | 51 | } |
51 | 52 | ||
52 | # This function creates an environment-setup-script in the TMPDIR which enables | 53 | # This function creates an environment-setup-script in the TMPDIR which enables |
@@ -92,6 +93,7 @@ toolchain_create_tree_env_script () { | |||
92 | echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script | 93 | echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script |
93 | echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script | 94 | echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script |
94 | echo 'export ARCH=${ARCH}' >> $script | 95 | echo 'export ARCH=${ARCH}' >> $script |
96 | echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script | ||
95 | } | 97 | } |
96 | 98 | ||
97 | # This function creates an environment-setup-script for use by the ADT installer | 99 | # This function creates an environment-setup-script for use by the ADT installer |
@@ -137,6 +139,7 @@ toolchain_create_sdk_env_script_for_installer () { | |||
137 | echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script | 139 | echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script |
138 | echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script | 140 | echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' >> $script |
139 | echo 'export ARCH=${ARCH}' >> $script | 141 | echo 'export ARCH=${ARCH}' >> $script |
142 | echo 'export CROSS_COMPILE=${TARGET_PREFIX}' >> $script | ||
140 | } | 143 | } |
141 | 144 | ||
142 | #we get the cached site config in the runtime | 145 | #we get the cached site config in the runtime |