2 # Copyright (C) 2012-2014 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.xz
13 PKG_SOURCE_URL
:=http
://daniel-baumann.ch
/files
/software
/dosfstools
/
14 PKG_MD5SUM
:=45012f5f56f2aae3afcd62120b9e5a08
16 include $(INCLUDE_DIR
)/host-build.mk
19 $(MAKE
) -C
$(HOST_BUILD_DIR
) SHELL
="$(BASH)" LDFLAGS
="$(HOST_LDFLAGS) $(HOST_STATIC_LINKING)"
23 $(INSTALL_BIN
) $(HOST_BUILD_DIR
)/mkfs.fat
$(STAGING_DIR_HOST
)/bin
/
24 $(LN
) mkfs.fat
$(STAGING_DIR_HOST
)/bin
/mkdosfs
28 rm -f
$(STAGING_DIR_HOST
)/bin
/mk
{dosfs
,fs.fat
}
31 $(eval
$(call HostBuild
))