summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/populate_sdk_base.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 02ade52d1c..f20d439036 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -218,6 +218,10 @@ done
218# fix dynamic loader paths in all ELF SDK binaries 218# fix dynamic loader paths in all ELF SDK binaries
219native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep OECORE_NATIVE_SYSROOT|cut -d'=' -f2|tr -d '"') 219native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep OECORE_NATIVE_SYSROOT|cut -d'=' -f2|tr -d '"')
220dl_path=$($SUDO_EXEC find $native_sysroot/lib -name "ld-linux*") 220dl_path=$($SUDO_EXEC find $native_sysroot/lib -name "ld-linux*")
221if [ "$dl_path" = "" ] ; then
222 echo "SDK could not be set up. Relocate script to find ld-linux.so. Abort!"
223 exit 1
224fi
221executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm +111) 225executable_files=$($SUDO_EXEC find $native_sysroot -type f -perm +111)
222$SUDO_EXEC ${env_setup_script%/*}/relocate_sdk.py $target_sdk_dir $dl_path $executable_files 226$SUDO_EXEC ${env_setup_script%/*}/relocate_sdk.py $target_sdk_dir $dl_path $executable_files
223if [ $? -ne 0 ]; then 227if [ $? -ne 0 ]; then