diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2013-03-17 08:19:41 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-03-18 23:02:28 +0100 |
commit | 24c2535f52550095a863a65e48bbf423b09fbed0 (patch) | |
tree | b82a2448c6c61afff7a711fedec789827623280d /package/dosfstools | |
parent | 59d1fe58fac77ae6d4e574719b48475c8030ed07 (diff) | |
download | buildroot-novena-24c2535f52550095a863a65e48bbf423b09fbed0.tar.gz buildroot-novena-24c2535f52550095a863a65e48bbf423b09fbed0.zip |
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>
Diffstat (limited to 'package/dosfstools')
-rw-r--r-- | package/dosfstools/Config.in.host | 6 | ||||
-rw-r--r-- | package/dosfstools/dosfstools.mk | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/package/dosfstools/Config.in.host b/package/dosfstools/Config.in.host new file mode 100644 index 000000000..9f9ceabbe --- /dev/null +++ b/package/dosfstools/Config.in.host @@ -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/ diff --git a/package/dosfstools/dosfstools.mk b/package/dosfstools/dosfstools.mk index 3a0856ab4..332f2eef3 100644 --- a/package/dosfstools/dosfstools.mk +++ b/package/dosfstools/dosfstools.mk @@ -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)) |