2 # Copyright (C) 2008-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_CPE_ID
:=cpe
:/a
:gnu
:libtool
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=@GNU
/$(PKG_NAME
)
15 PKG_HASH
:=da8ebb2ce4dcf46b90098daf962cffa68f4b4f62ea60f798d0ef12929ede6adf
17 include $(INCLUDE_DIR
)/host-build.mk
19 export GNULIB_SRCDIR
:=$(HOST_GNULIB_SRCDIR
)
21 HOST_CONFIGURE_VARS
+= \
22 lt_cv_sys_dlsearch_path
=""
25 am__CONFIG_DISTCLEAN_FILES
= \
26 CONFIG_STATUS_DEPENDENCIES
=
30 cd
$(HOST_BUILD_DIR
); \
37 --gnulib-srcdir
=$(GNULIB_SRCDIR
) \
42 $(call Host
/Prepare
/Default
)
43 $(call Host
/Uninstall
)
44 $(if
$(QUILT
),,$(call Host
/Bootstrap
))
48 $(if
$(QUILT
),$(call Host
/Bootstrap
))
49 $(call Host
/Configure
/Default
)
50 $(call Host
/Uninstall
)
54 $(call Host
/Compile
/Default
,install)
55 $(SED
) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(STAGING_DIR_HOST
)/bin
/libtool
59 -$(call Host
/Compile
/Default
,uninstall)
60 -$(call Host
/Compile
/Default
,maintainer-clean
) # Clean bootstrap files from the release
61 (cd
$(STAGING_DIR_HOST
)/share
/aclocal
/ && rm -f libtool.m4 ltdl.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
)
64 $(eval
$(call HostBuild
))