2 # Copyright (C) 2012-2013 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:=17b9f525c1ae3583a478338deb7fbc19
17 HOST_BUILD_PARALLEL:=1
19 include $(INCLUDE_DIR)/host-build.mk
21 HOST_CONFIGURE_VARS += \
22 ac_cv_header_iconv_h=no
25 $(MAKE) -C $(HOST_BUILD_DIR) mcopy mmd
29 $(INSTALL_BIN) $(HOST_BUILD_DIR)/mcopy $(STAGING_DIR_HOST)/bin/
30 $(INSTALL_BIN) $(HOST_BUILD_DIR)/mmd $(STAGING_DIR_HOST)/bin/
34 rm -f $(STAGING_DIR_HOST)/bin/mcopy
35 rm -f $(STAGING_DIR_HOST)/bin/mmd
38 $(eval $(call HostBuild))