2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-01-09 03:34:10 +01:00
|
|
|
#
|
|
|
|
# libtool
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-02-16 17:24:19 +01:00
|
|
|
LIBTOOL_VERSION = 2.4.6
|
2013-09-06 08:14:15 +02:00
|
|
|
LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.xz
|
2009-03-23 22:46:51 +01:00
|
|
|
LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
|
2011-09-29 10:40:58 +02:00
|
|
|
LIBTOOL_INSTALL_STAGING = YES
|
2014-12-21 18:34:11 +01:00
|
|
|
LIBTOOL_CONF_ENV = HELP2MAN=true
|
|
|
|
LIBTOOL_DEPENDENCIES = host-m4
|
2012-11-13 02:05:46 +01:00
|
|
|
LIBTOOL_LICENSE = GPLv2+
|
|
|
|
LIBTOOL_LICENSE_FILES = COPYING
|
2003-01-09 03:34:10 +01:00
|
|
|
|
2010-10-09 12:52:54 +02:00
|
|
|
HOST_LIBTOOL_LIBTOOL_PATCH = NO
|
|
|
|
|
2014-03-20 00:03:00 +01:00
|
|
|
# We have a patch that affects libtool.m4, which triggers an autoreconf
|
|
|
|
# in the build step. Normally we would set AUTORECONF = YES, but this
|
|
|
|
# doesn't work for host-libtool because that creates a circular
|
|
|
|
# dependency. Instead, touch the generated files so autoreconf is not
|
|
|
|
# triggered in the build step. Note that aclocal.m4 has to be touched
|
|
|
|
# first since the rest depends on it. Note that we don't need the changes
|
|
|
|
# in libtool.m4 in our configure script, because we're not actually
|
|
|
|
# running it on the target.
|
|
|
|
# For the target, we would normally be able to use AUTORECONF, but it
|
|
|
|
# fails on libltdl/Makefile.inc. Rather than trying to fix that failure,
|
|
|
|
# just use the same hack as on the host.
|
|
|
|
define LIBTOOL_AVOID_AUTORECONF_HOOK
|
|
|
|
find $(@D) -name aclocal.m4 -exec touch '{}' \;
|
|
|
|
find $(@D) -name config-h.in -exec touch '{}' \;
|
|
|
|
find $(@D) -name configure -exec touch '{}' \;
|
|
|
|
find $(@D) -name Makefile.in -exec touch '{}' \;
|
2014-02-21 00:09:47 +01:00
|
|
|
endef
|
2014-03-20 00:03:00 +01:00
|
|
|
LIBTOOL_PRE_CONFIGURE_HOOKS += LIBTOOL_AVOID_AUTORECONF_HOOK
|
|
|
|
HOST_LIBTOOL_PRE_CONFIGURE_HOOKS += LIBTOOL_AVOID_AUTORECONF_HOOK
|
2014-02-21 00:09:47 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|
2007-06-28 15:51:07 +02:00
|
|
|
|
2009-11-01 23:40:02 +01:00
|
|
|
# variables used by other packages
|
2013-01-20 10:45:47 +01:00
|
|
|
LIBTOOL = $(HOST_DIR)/usr/bin/libtool
|
|
|
|
LIBTOOLIZE = $(HOST_DIR)/usr/bin/libtoolize
|