Skip to contentSkip to conversation

mtools: add support for building for target

PATCH New Frank Hunleth 2 participants 2 messages Mar 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/Config.in        |  1 +
 package/mtools/Config.in | 13 +++++++++++++
 package/mtools/mtools.mk |  1 +
 3 files changed, 15 insertions(+)
 create mode 100644 package/mtools/Config.in
package/Config.in +1 -0
index f9c1b0b..688ed4d 100644
@@ -144,6 +144,7 @@ source "package/kobs-ng/Config.in"
 source "package/makedevs/Config.in"
 source "package/mmc-utils/Config.in"
 source "package/mtd/Config.in"
+source "package/mtools/Config.in"
 source "package/nfs-utils/Config.in"
 source "package/ntfs-3g/Config.in"
 source "package/squashfs/Config.in"
package/mtools/Config.in new file +13 -0
new file mode 100644
index 0000000..14e5ecc
@@ -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.tux.org/pub/tux/mtools/
+
+comment "mtools needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR
package/mtools/mtools.mk +1 -0
index 11517df..6d8f44b 100644
@@ -10,4 +10,5 @@ MTOOLS_SITE          = $(BR2_GNU_MIRROR)/mtools/
 MTOOLS_LICENSE       = GPLv3+
 MTOOLS_LICENSE_FILES = COPYING
 
+$(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 mtools: add support for building for target

Quoted 31 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hunleth <[email protected]> writes:

This patch adds a menu option and updates the mtools.mk file to support building mtools for the target.

---
 package/Config.in        |  1 +
 package/mtools/Config.in | 13 +++++++++++++
 package/mtools/mtools.mk |  1 +
 3 files changed, 15 insertions(+)
 create mode 100644 package/mtools/Config.in
package/Config.in +1 -0
index f9c1b0b..688ed4d 100644
@@ -144,6 +144,7 @@ source "package/kobs-ng/Config.in"
 source "package/makedevs/Config.in"
 source "package/mmc-utils/Config.in"
 source "package/mtd/Config.in"
+source "package/mtools/Config.in"
 source "package/nfs-utils/Config.in"
 source "package/ntfs-3g/Config.in"
 source "package/squashfs/Config.in"
package/mtools/Config.in new file +0 -0
new file mode 100644
index 0000000..14e5ecc

package/mtools/Config.in line 10

Quoted 10 lines
package/mtools/Config.in new file +10 -0
@@ -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.tux.org/pub/tux/mtools/

Committed with the upstream URL changed to be the same as the host variant, thanks.

Signature · 1 line
Bye, Peter Korsgaard