2010-11-18 23:43:33 +00:00
|
|
|
SUMMARY = "Generic library support script"
|
2011-01-19 15:03:53 +00:00
|
|
|
DESCRIPTION = "This is GNU libtool, a generic library support script. \
|
|
|
|
Libtool hides the complexity of generating special library types \
|
|
|
|
(such as shared libraries) behind a consistent interface."
|
2008-02-03 11:52:24 +00:00
|
|
|
HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
|
|
|
|
SECTION = "devel"
|
2011-02-26 22:07:18 +00:00
|
|
|
LICENSE = "GPLv2 & LGPLv2.1"
|
2015-01-06 22:47:37 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
|
|
|
file://libltdl/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c "
|
2011-11-29 19:30:40 +00:00
|
|
|
|
2010-06-21 10:46:34 +00:00
|
|
|
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
|
|
|
|
file://trailingslash.patch \
|
2010-12-21 18:46:15 +00:00
|
|
|
file://rename-with-sysroot.patch \
|
2011-01-12 07:20:02 +00:00
|
|
|
file://use-sysroot-in-libpath.patch \
|
2011-02-18 18:13:48 +00:00
|
|
|
file://fix-final-rpath.patch \
|
2011-11-29 19:30:40 +00:00
|
|
|
file://fix-rpath.patch \
|
2012-08-17 15:53:11 +00:00
|
|
|
file://norm-rpath.patch \
|
2013-01-06 23:49:28 +00:00
|
|
|
file://dont-depend-on-help2man.patch \
|
2013-09-14 09:01:38 +00:00
|
|
|
file://fix-resolve-lt-sysroot.patch \
|
2015-02-03 14:24:58 +00:00
|
|
|
file://nohardcodepaths.patch \
|
2015-02-10 17:46:29 +00:00
|
|
|
file://unwind-opt-parsing.patch \
|
2015-09-19 22:43:15 +00:00
|
|
|
file://0001-libtool-Fix-support-for-NIOS2-processor.patch \
|
2011-11-29 19:30:40 +00:00
|
|
|
"
|
|
|
|
|
2015-02-16 16:23:39 +00:00
|
|
|
SRC_URI[md5sum] = "addf44b646ddb4e3919805aa88fa7c5e"
|
|
|
|
SRC_URI[sha256sum] = "e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3"
|
2008-02-03 11:52:24 +00:00
|
|
|
|
2011-01-19 15:03:53 +00:00
|
|
|
do_compile_prepend () {
|
|
|
|
# Sometimes this file doesn't get rebuilt, force the issue
|
2015-01-06 22:47:37 +00:00
|
|
|
rm -f ${S}/build-aux/ltmain.sh
|
|
|
|
make build-aux/ltmain.sh
|
2012-05-20 17:54:37 +00:00
|
|
|
./config.status
|
2011-01-19 15:03:53 +00:00
|
|
|
}
|
|
|
|
|
2014-05-01 20:00:28 +00:00
|
|
|
inherit autotools texinfo
|
2011-01-19 15:03:53 +00:00
|
|
|
EXTRA_AUTORECONF = "--exclude=libtoolize"
|
2011-11-29 19:30:40 +00:00
|
|
|
|
2016-02-18 08:13:02 +00:00
|
|
|
CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep"
|
|
|
|
|
2011-11-29 19:30:40 +00:00
|
|
|
DEPENDS = "libtool-native"
|
|
|
|
|
2015-04-10 09:30:02 +00:00
|
|
|
PACKAGES =+ "libltdl"
|
2012-06-13 20:56:29 +00:00
|
|
|
FILES_${PN} += "${datadir}/aclocal"
|
|
|
|
|
2015-07-09 16:52:44 +00:00
|
|
|
FILES_${PN}-dev_remove = "${datadir}/aclocal"
|
2012-01-27 08:21:29 +00:00
|
|
|
FILES_libltdl = "${libdir}/libltdl${SOLIBS}"
|
libtool: add bash to RDEPENDS_libtool
* Set CONFIG_SHELL="/bin/bash"
* Add bash to RDEPENDS_libtool
We had already set CONFIG_SHELL="/bin/bash" for libtool-native,
libtool-cross and nativesdk-libtool, now also set for target libtool, if
we don't set this, libtool would use /bin/sh, /bin/bash, /bin/ksh or
/bin/sh5 according to the host, and the build is undetermined, this
patch can fix the problem, libtool is a development tool, rdepends on
bash should not cause toubles (for example, the size of the image)
Have tried to set CONFIG_SHELL="/bin/sh" (/bin/sh -> dash), but there is
still a few bashsim in the output libtool.
(From OE-Core rev: c07f09b1b261b0d480544a6100f6a83835c62019)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-18 06:24:03 +00:00
|
|
|
|
|
|
|
export CONFIG_SHELL="/bin/bash"
|