diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-02 14:03:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-02 14:09:20 +0000 |
commit | e24043500078733533a615f043c1af328354e3bd (patch) | |
tree | fc5b9fc2f3ac9ba367b680bbcdca757f5050d5bc /meta/recipes-devtools/libtool/libtool_2.4.5.bb | |
parent | 103663075ebc916958079cb2c4b350eb2222894b (diff) | |
download | poky-e24043500078733533a615f043c1af328354e3bd.tar.gz |
libtool: 2.4.4 -> 2.4.5
(From OE-Core rev: 8156469a2ff36521aefcc9a3a4125d2dbcd4711a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool_2.4.5.bb')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool_2.4.5.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.5.bb b/meta/recipes-devtools/libtool/libtool_2.4.5.bb new file mode 100644 index 0000000000..45f1b2f3a9 --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool_2.4.5.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | require libtool-${PV}.inc | ||
2 | |||
3 | RDEPENDS_${PN} += "bash" | ||
4 | |||
5 | # | ||
6 | # We want the results of libtool-cross preserved - don't stage anything ourselves. | ||
7 | # | ||
8 | SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" | ||
9 | |||
10 | do_install_append () { | ||
11 | sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ | ||
12 | -e 's@${STAGING_DIR_HOST}@@g' \ | ||
13 | -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \ | ||
14 | -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \ | ||
15 | -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \ | ||
16 | -e 's@^\(predep_objects="\).*@\1"@' \ | ||
17 | -e 's@^\(postdep_objects="\).*@\1"@' \ | ||
18 | -i ${D}${bindir}/libtool | ||
19 | } | ||
20 | |||
21 | libtool_sysroot_preprocess () { | ||
22 | rm -rf ${SYSROOT_DESTDIR}${bindir}/* | ||
23 | rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/* | ||
24 | rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/build-aux/* | ||
25 | } | ||
26 | |||