2 # Copyright (C) 2008 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
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=@GNU
/$(PKG_NAME
)
14 PKG_MD5SUM
:=b32b04148ecdd7344abc6fe8bd1bb021
16 include $(INCLUDE_DIR
)/host-build.mk
19 $(MAKE
) -C
$(HOST_BUILD_DIR
)
23 $(MAKE
) -C
$(HOST_BUILD_DIR
) install
24 $(SED
) 's,\(hardcode_into_libs\)=yes,\1=no,g' $(STAGING_DIR_HOST
)/bin
/libtool
25 $(CP
) $(STAGING_DIR_HOST
)/bin
/libtool
$(STAGING_DIR_HOST
)/bin
/libtool-ucxx
26 $(SED
) 's,-lstdc++,-luClibc++,g' $(STAGING_DIR_HOST
)/bin
/libtool-ucxx
30 -$(MAKE
) -C
$(HOST_BUILD_DIR
) uninstall
31 $(call Host
/Clean
/Default
)
34 $(eval
$(call HostBuild
))