300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
496 B
Makefile
19 lines
496 B
Makefile
#############################################################
|
|
#
|
|
# libtool
|
|
#
|
|
#############################################################
|
|
LIBTOOL_VERSION = 2.2.10
|
|
LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.gz
|
|
LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
|
|
LIBTOOL_INSTALL_STAGING = YES
|
|
|
|
HOST_LIBTOOL_LIBTOOL_PATCH = NO
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
$(eval $(call AUTOTARGETS,host))
|
|
|
|
# variables used by other packages
|
|
LIBTOOL:=$(HOST_DIR)/usr/bin/libtool
|
|
LIBTOOLIZE:=$(HOST_DIR)/usr/bin/libtoolize
|