diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 4ef8838e35..15cae71496 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -222,14 +222,15 @@ sdk_ext_postinst() { | |||
222 | 222 | ||
223 | # Make sure when the user sets up the environment, they also get | 223 | # Make sure when the user sets up the environment, they also get |
224 | # the buildtools-tarball tools in their path. | 224 | # the buildtools-tarball tools in their path. |
225 | echo ". $target_sdk_dir/buildtools/environment-setup*" >> $target_sdk_dir/environment-setup* | 225 | env_setup_script="$target_sdk_dir/environment-setup-${REAL_MULTIMACH_TARGET_SYS}" |
226 | echo ". $target_sdk_dir/buildtools/environment-setup*" >> $env_setup_script | ||
226 | 227 | ||
227 | # Allow bitbake environment setup to be ran as part of this sdk. | 228 | # Allow bitbake environment setup to be ran as part of this sdk. |
228 | echo "export OE_SKIP_SDK_CHECK=1" >> $target_sdk_dir/environment-setup* | 229 | echo "export OE_SKIP_SDK_CHECK=1" >> $env_setup_script |
229 | 230 | ||
230 | # A bit of another hack, but we need this in the path only for devtool | 231 | # A bit of another hack, but we need this in the path only for devtool |
231 | # so put it at the end of $PATH. | 232 | # so put it at the end of $PATH. |
232 | echo "export PATH=\$PATH:$target_sdk_dir/sysroots/${SDK_SYS}/${bindir_nativesdk}" >> $target_sdk_dir/environment-setup* | 233 | echo "export PATH=\$PATH:$target_sdk_dir/sysroots/${SDK_SYS}/${bindir_nativesdk}" >> $env_setup_script |
233 | 234 | ||
234 | # For now this is where uninative.bbclass expects the tarball | 235 | # For now this is where uninative.bbclass expects the tarball |
235 | mv *-nativesdk-libc.tar.* $target_sdk_dir/`dirname ${oe_init_build_env_path}` | 236 | mv *-nativesdk-libc.tar.* $target_sdk_dir/`dirname ${oe_init_build_env_path}` |