summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@hale.at>2013-07-04 11:16:30 +0200
committerSaul Wold <sgw@linux.intel.com>2013-07-09 07:56:14 -0700
commitd084c31720f9c13a71c5981f4eda21e18ba2350f (patch)
tree5747845733c40561fb1f8f90d25a7e67a8cf713e /meta/classes
parent2bf46fbd25e1a3a44d556758f536fa26c44edb03 (diff)
downloadopenembedded-core-d084c31720f9c13a71c5981f4eda21e18ba2350f.tar.gz
openembedded-core-d084c31720f9c13a71c5981f4eda21e18ba2350f.tar.bz2
openembedded-core-d084c31720f9c13a71c5981f4eda21e18ba2350f.zip
populate_sdk_base.bbclass: allow $OECORE_NATIVE_SYSROOT in sdk_env_script
Only grep for 'OECORE_NATIVE_SYSROOT=' otherwise things like toolchain_create_sdk_env_script_append() { echo 'export MY_DIR_FOO=$OECORE_NATIVE_SYSROOT/my/dir/foo' >> $script } trigger the following error while executing the install script: find: `$OECORE_NATIVE_SYSROOT/my/dir/foo': No such file or directory Signed-off-by: Bernhard Guillon <Bernhard.Guillon@hale.at> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 6378af98a8..30c1d29a28 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -248,7 +248,7 @@ for env_setup_script in `ls $target_sdk_dir/environment-setup-*`; do
done
# fix dynamic loader paths in all ELF SDK binaries
-native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep OECORE_NATIVE_SYSROOT|cut -d'=' -f2|tr -d '"')
+native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep 'OECORE_NATIVE_SYSROOT='|cut -d'=' -f2|tr -d '"')
dl_path=$($SUDO_EXEC find $native_sysroot/lib -name "ld-linux*")
if [ "$dl_path" = "" ] ; then
echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!"