From 871dc461b1dfc431c0c95743af1624b781262bce Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 6 Jan 2015 14:47:37 -0800 Subject: libtool: upgraded to 2.4.4 * Upgrade: - libtool-native - libtool-cross - nativesdk-libtool - libtool * Remove 2 patches: - respect-fstack-protector.patch: already in the new source. - avoid_absolute_paths_for_general_utils.patch: no general.m4sh any more. - Use inline-source to install libtoolize. * Update other patches * The LIC_FILES_CHKSUM is changed because of the indent, the contents are the same. * The libtool config files are put in libtool/build-aux now, it was libtool/config in the past. Signed-off-by: Robert Yang --- meta/recipes-devtools/libtool/libtool_2.4.4.bb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-devtools/libtool/libtool_2.4.4.bb (limited to 'meta/recipes-devtools/libtool/libtool_2.4.4.bb') diff --git a/meta/recipes-devtools/libtool/libtool_2.4.4.bb b/meta/recipes-devtools/libtool/libtool_2.4.4.bb new file mode 100644 index 0000000000..45f1b2f3a9 --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool_2.4.4.bb @@ -0,0 +1,26 @@ +require libtool-${PV}.inc + +RDEPENDS_${PN} += "bash" + +# +# We want the results of libtool-cross preserved - don't stage anything ourselves. +# +SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" + +do_install_append () { + sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ + -e 's@${STAGING_DIR_HOST}@@g' \ + -e 's@^\(sys_lib_search_path_spec="\).*@\1${libdir} ${base_libdir}"@' \ + -e 's@^\(compiler_lib_search_dirs="\).*@\1${libdir} ${base_libdir}"@' \ + -e 's@^\(compiler_lib_search_path="\).*@\1${libdir} ${base_libdir}"@' \ + -e 's@^\(predep_objects="\).*@\1"@' \ + -e 's@^\(postdep_objects="\).*@\1"@' \ + -i ${D}${bindir}/libtool +} + +libtool_sysroot_preprocess () { + rm -rf ${SYSROOT_DESTDIR}${bindir}/* + rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/* + rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/build-aux/* +} + -- cgit 1.2.3-korg