diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/files/toolchain-shar-relocate.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/files/toolchain-shar-relocate.sh index 4ef2927171..d58e4ed152 100644 --- a/meta/files/toolchain-shar-relocate.sh +++ b/meta/files/toolchain-shar-relocate.sh | |||
@@ -1,3 +1,5 @@ | |||
1 | #reset the env_setup_script value to the proper value | ||
2 | env_setup_script=$target_sdk_dir/environment-setup-@REAL_MULTIMACH_TARGET_SYS@ | ||
1 | # fix dynamic loader paths in all ELF SDK binaries | 3 | # fix dynamic loader paths in all ELF SDK binaries |
2 | native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep 'OECORE_NATIVE_SYSROOT='|cut -d'=' -f2|tr -d '"') | 4 | native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep 'OECORE_NATIVE_SYSROOT='|cut -d'=' -f2|tr -d '"') |
3 | dl_path=$($SUDO_EXEC find $native_sysroot/lib -name "ld-linux*") | 5 | dl_path=$($SUDO_EXEC find $native_sysroot/lib -name "ld-linux*") |