summaryrefslogtreecommitdiffstats
path: root/package/mtools
diff options
context:
space:
mode:
authorFrank Hunleth <fhunleth@troodon-software.com>2014-03-17 18:30:58 -0400
committerPeter Korsgaard <peter@korsgaard.com>2014-03-17 23:48:40 +0100
commit4047270e75cff1fb1cc05e4d6f2c65f9e5663528 (patch)
treebe8e45d4d698cac5fb2fef9625cafe249985d48c /package/mtools
parent14ba3e42b6dba0b127cbb2d11ead30d9dcb0221e (diff)
downloadbuildroot-4047270e75cff1fb1cc05e4d6f2c65f9e5663528.tar.gz
buildroot-4047270e75cff1fb1cc05e4d6f2c65f9e5663528.zip
mtools: add support for building for target
This patch adds a menu option and updates the mtools.mk file to support building mtools for the target. [Peter: use same upstream URL as host variant] Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/mtools')
-rw-r--r--package/mtools/Config.in13
-rw-r--r--package/mtools/mtools.mk1
2 files changed, 14 insertions, 0 deletions
diff --git a/package/mtools/Config.in b/package/mtools/Config.in
new file mode 100644
index 0000000000..c471d77d75
--- /dev/null
+++ b/package/mtools/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_MTOOLS
+ bool "mtools"
+ depends on BR2_USE_WCHAR
+ help
+ Mtools is a collection of utilities to access MS-DOS disks from
+ Unix without mounting them. It supports Win'95 style long file
+ names, OS/2 Xdf disks and 2m disks (store up to 1992k on a high
+ density 3 1/2 disk).
+
+ http://www.gnu.org/software/mtools/
+
+comment "mtools needs a toolchain w/ wchar"
+ depends on !BR2_USE_WCHAR
diff --git a/package/mtools/mtools.mk b/package/mtools/mtools.mk
index 11517dfc2a..6d8f44bb25 100644
--- a/package/mtools/mtools.mk
+++ b/package/mtools/mtools.mk
@@ -10,4 +10,5 @@ MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools/
MTOOLS_LICENSE = GPLv3+
MTOOLS_LICENSE_FILES = COPYING
+$(eval $(autotools-package))
$(eval $(host-autotools-package))
OpenPOWER on IntegriCloud