OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # |
2 | # Copyright (C) 2008-2015 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | include $(TOPDIR)/rules.mk |
||
8 | |||
9 | PKG_NAME:=libtool |
||
10 | PKG_CPE_ID:=cpe:/a:gnu:libtool |
||
11 | PKG_VERSION:=2.4 |
||
12 | |||
13 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
||
14 | PKG_SOURCE_URL:=@GNU/$(PKG_NAME) |
||
15 | PKG_HASH:=afcce660d3dc54c63a0a5ba3cf05272239dc3c54bbeba20f6bad250f9dc007ae |
||
16 | |||
17 | HOST_BUILD_PARALLEL:=1 |
||
18 | |||
19 | include $(INCLUDE_DIR)/host-build.mk |
||
20 | |||
21 | HOST_CONFIGURE_VARS += \ |
||
22 | lt_cv_sys_dlsearch_path="" |
||
23 | |||
24 | define Host/Prepare |
||
25 | $(call Host/Prepare/Default) |
||
26 | (cd $(STAGING_DIR_HOST)/share/aclocal/ && rm -f libtool.m4 ltdl.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4) |
||
27 | (cd $(HOST_BUILD_DIR); $(AM_TOOL_PATHS) ./bootstrap) |
||
28 | endef |
||
29 | |||
30 | define Host/Install |
||
31 | $(MAKE) -C $(HOST_BUILD_DIR) install |
||
32 | $(SED) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(STAGING_DIR_HOST)/bin/libtool |
||
33 | $(CP) $(STAGING_DIR_HOST)/bin/libtool $(STAGING_DIR_HOST)/bin/libtool-ucxx |
||
34 | $(SED) 's,-lstdc++,-luClibc++,g' $(STAGING_DIR_HOST)/bin/libtool-ucxx |
||
35 | endef |
||
36 | |||
37 | define Host/Clean |
||
38 | -$(MAKE) -C $(HOST_BUILD_DIR) uninstall |
||
39 | $(call Host/Clean/Default) |
||
40 | endef |
||
41 | |||
42 | $(eval $(call HostBuild)) |