diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-06-21 03:46:34 -0700 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-07-08 22:05:20 -0700 |
commit | d42466ea43827f1c6a5a972819dac273e381d33d (patch) | |
tree | 72c6a9d981257dc2c3fd2173bc56657b20c1061e /meta/packages/libtool/libtool_2.2.10.bb | |
parent | f516cfcac0b2d56aebe1da2a00301c669ca77ab9 (diff) | |
download | poky-d42466ea43827f1c6a5a972819dac273e381d33d.tar.gz |
libtool family: upgrade from 2.2.6 to 2.2.10
This upgrades these recipes:
libtool_2.2.6.bb -> libtool_2.2.10.bb
libtool-native_2.2.6.bb -> libtool-native_2.2.10.bb
libtool-cross_2.2.6.bb -> libtool-cross_2.2.10.bb
libtool-nativesdk_2.2.6.bb -> libtool-nativesdk_2.2.10.bb
Also fixes build failure caused by having aclocal.m4 built with older version
of libtool.
Rebased these patches for the newer version sources
add_dolt.patch
cross_compile.patch
dolt.m4
Changed this patch to fix documentation building for non-x86 archs
prefix.patch
Rebased and changed to fix the building of ncurses recipe:
trailingslash.patch
Also updated metadata variables like LICENSE & LIC_CHKSUM_FILES
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/packages/libtool/libtool_2.2.10.bb')
-rw-r--r-- | meta/packages/libtool/libtool_2.2.10.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/packages/libtool/libtool_2.2.10.bb b/meta/packages/libtool/libtool_2.2.10.bb new file mode 100644 index 0000000000..cca3b1ea4a --- /dev/null +++ b/meta/packages/libtool/libtool_2.2.10.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | require libtool.inc | ||
2 | DEPENDS = "libtool-native" | ||
3 | |||
4 | PR = "r0" | ||
5 | |||
6 | PACKAGES =+ "libltdl libltdl-dev libltdl-dbg" | ||
7 | FILES_${PN} += "${datadir}/aclocal*" | ||
8 | FILES_libltdl = "${libdir}/libltdl.so.*" | ||
9 | FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h" | ||
10 | FILES_libltdl-dbg = "${libdir}/.debug/" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | EXTRA_AUTORECONF = "--exclude=libtoolize" | ||
15 | |||
16 | do_compile_prepend () { | ||
17 | # Sometimes this file doesn't get rebuilt, force the issue | ||
18 | rm -f ${S}/libltdl/config/ltmain.sh | ||
19 | make libltdl/config/ltmain.sh | ||
20 | } | ||
21 | |||
22 | # | ||
23 | # We want the results of libtool-cross preserved - don't stage anything ourselves. | ||
24 | # | ||
25 | SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" | ||
26 | |||
27 | libtool_sysroot_preprocess () { | ||
28 | if [ "${PN}" == "libtool" ]; then | ||
29 | rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${bindir}/* | ||
30 | rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/aclocal/* | ||
31 | rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/libtool/config/* | ||
32 | fi | ||
33 | } | ||