diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 0d1974141b..a1cb12a24a 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -154,7 +154,7 @@ echo "done" | |||
154 | 154 | ||
155 | echo -n "Setting it up..." | 155 | echo -n "Setting it up..." |
156 | # fix environment paths | 156 | # fix environment paths |
157 | env_setup_script=$(find $target_sdk_dir -name "environment-setup*") | 157 | env_setup_script=$(find $target_sdk_dir -name "environment-setup-${REAL_MULTIMACH_TARGET_SYS}") |
158 | sed -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g" -i $env_setup_script | 158 | sed -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g" -i $env_setup_script |
159 | 159 | ||
160 | # fix dynamic loader paths in all ELF SDK binaries | 160 | # fix dynamic loader paths in all ELF SDK binaries |
@@ -168,7 +168,7 @@ if [ $? -ne 0 ]; then | |||
168 | fi | 168 | fi |
169 | 169 | ||
170 | # replace ${SDKPATH} with the new prefix in all text files: configs/scripts/etc | 170 | # replace ${SDKPATH} with the new prefix in all text files: configs/scripts/etc |
171 | find $native_sysroot -type f -exec file '{}' \;|grep text|cut -d':' -f1|xargs sed -i -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g" | 171 | find $native_sysroot -type f -exec file '{}' \;|grep ":.*ASCII.*text"|cut -d':' -f1|xargs sed -i -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g" |
172 | 172 | ||
173 | echo done | 173 | echo done |
174 | 174 | ||