summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-11 08:41:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-23 13:00:48 +0100
commitdb750252148d8e312580fc7c50df5ebbbfdb8cad (patch)
tree3d2002282e0317aab2485632f30368fa730b1184
parentab2347d37d3a507c8e2d78f49b57a30c68215091 (diff)
downloadpoky-db750252148d8e312580fc7c50df5ebbbfdb8cad.tar.gz
libtool: Ensure the paths to sed are not hardcoded
If you: bitbake sed-native bitbake libtool-cross then libtool-cross has SED="/path/to/sysroot/sed" which is incorrect. If that is reused from sstate or sed-native is cleaned, the build will fail. This patch simply sets sed to be "sed" since we're not on systems where the sed from PATH is broken. (From OE-Core rev: 65accc9a8526ed659b0a6a75fa9986fd7e6819b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.2.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
index 95e12a2420..12a783a17d 100644
--- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
@@ -25,6 +25,9 @@ SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
25SRC_URI[md5sum] = "d2f3b7d4627e69e13514a40e72a24d50" 25SRC_URI[md5sum] = "d2f3b7d4627e69e13514a40e72a24d50"
26SRC_URI[sha256sum] = "b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918" 26SRC_URI[sha256sum] = "b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918"
27 27
28# Don't want paths to sed-native (or anything else) encoded
29CACHED_CONFIGUREVARS += "ac_cv_path_SED=sed"
30
28do_compile_prepend () { 31do_compile_prepend () {
29 # Sometimes this file doesn't get rebuilt, force the issue 32 # Sometimes this file doesn't get rebuilt, force the issue
30 rm -f ${S}/libltdl/config/ltmain.sh 33 rm -f ${S}/libltdl/config/ltmain.sh