2 # Copyright (C) 2012 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
11 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
12 PKG_SOURCE_URL:=http://dosfstools.sourcearchive.com/downloads/3.0.7/
13 PKG_MD5SUM:=5d4d97c79e8dae60bb08c2fba36c94d6
16 include $(INCLUDE_DIR)/host-build.mk
19 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" LDFLAGS="$(HOST_LDFLAGS) -static"
23 $(INSTALL_BIN) $(HOST_BUILD_DIR)/mkdosfs $(STAGING_DIR_HOST)/bin/
27 rm -f $(STAGING_DIR_HOST)/bin/mkdosfs
30 $(eval $(call HostBuild))