summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-12-14 11:38:47 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-14 17:30:41 +0000
commitad79360c1d992830d4f0e06a3bbf0622658c0540 (patch)
tree5068199df13feb0c1950d76c7d7bc05714ec724c
parent92d08254b55cb36df155f6b0248fd3889d44655f (diff)
downloadopenembedded-core-ad79360c1d992830d4f0e06a3bbf0622658c0540.tar.gz
openembedded-core-ad79360c1d992830d4f0e06a3bbf0622658c0540.tar.bz2
openembedded-core-ad79360c1d992830d4f0e06a3bbf0622658c0540.zip
populate_sdk_base: Add perl modules as needing to be relocated
The perl module for automake has an embedded path in it, this needs to be relocated. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 473b12673b..c1756e8c87 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -236,7 +236,7 @@ if [ $? -ne 0 ]; then
fi
# replace ${SDKPATH} with the new prefix in all text files: configs/scripts/etc
-$SUDO_EXEC find $native_sysroot -type f -exec file '{}' \;|grep ":.*\(ASCII\|script\).*text"|cut -d':' -f1|$SUDO_EXEC xargs sed -i -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g"
+$SUDO_EXEC find $native_sysroot -type f -exec file '{}' \;|grep ":.*\(ASCII\|script\|source\).*text"|cut -d':' -f1|$SUDO_EXEC xargs sed -i -e "s:$DEFAULT_INSTALL_DIR:$target_sdk_dir:g"
# change all symlinks pointing to ${SDKPATH}
for l in $($SUDO_EXEC find $native_sysroot -type l); do