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.bz2
13 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
14 PKG_HASH:=1bc197199ea1c2c317f597879486eeb817f3199b526d94cc6841624768d910df
16 HOST_BUILD_PARALLEL:=1
18 include $(INCLUDE_DIR)/host-build.mk
20 HOST_CONFIGURE_VARS += \
21 ac_cv_header_iconv_h=no
24 $(MAKE) -C $(HOST_BUILD_DIR) mcopy mmd
28 $(INSTALL_BIN) $(HOST_BUILD_DIR)/mcopy $(STAGING_DIR_HOST)/bin/
29 $(INSTALL_BIN) $(HOST_BUILD_DIR)/mmd $(STAGING_DIR_HOST)/bin/
33 rm -f $(STAGING_DIR_HOST)/bin/mcopy
34 rm -f $(STAGING_DIR_HOST)/bin/mmd
37 $(eval $(call HostBuild))