Add dosfstools as a host-package selection in the menuconfig.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
menu "Host utilities"
source "package/dfu-util/Config.in.host"
+source "package/dosfstools/Config.in.host"
source "package/e2fsprogs/Config.in.host"
source "package/lpc3250loader/Config.in.host"
source "package/omap-u-boot-utils/Config.in.host"
--- /dev/null
+config BR2_PACKAGE_HOST_DOSFSTOOLS
+ bool "host dosfstools"
+ help
+ Tools for creating and checking DOS FAT filesystems.
+
+ http://www.daniel-baumann.ch/software/dosfstools/
-$(MAKE) -C $(@D) clean
endef
+define HOST_DOSFSTOOLS_BUILD_CMDS
+ $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define HOST_DOSFSTOOLS_INSTALL_CMDS
+ $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) PREFIX=$(HOST_DIR)/usr install
+endef
+
$(eval $(generic-package))
+$(eval $(host-generic-package))