package/dosfstools: add host-package selection

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>
This commit is contained in:
Yann E. MORIN 2013-03-17 08:19:41 +00:00 committed by Peter Korsgaard
parent 59d1fe58fa
commit 24c2535f52
3 changed files with 16 additions and 0 deletions

View File

@ -1,6 +1,7 @@
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"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_HOST_DOSFSTOOLS
bool "host dosfstools"
help
Tools for creating and checking DOS FAT filesystems.
http://www.daniel-baumann.ch/software/dosfstools/

View File

@ -43,4 +43,13 @@ define DOSFSTOOLS_CLEAN_CMDS
-$(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))