Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 88712af

Browse files
committed
NOOBS 1.2.1 release for testing (fixes #70 by adding FAT partition label
with mtools instead of dosfslabel).
1 parent 28d662a commit 88712af

File tree

11 files changed

+57
-12
lines changed

11 files changed

+57
-12
lines changed

buildroot/.config

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Automatically generated file; DO NOT EDIT.
3-
# Buildroot 2013.05-git-00063-gbf7d7fb-dirty Configuration
3+
# Buildroot 2013.05-git-00009-g28d662a-dirty Configuration
44
#
55
BR2_HAVE_DOT_CONFIG=y
66
BR2_arm=y
@@ -247,6 +247,7 @@ BR2_BUSYBOX_VERSION="1.21.0"
247247
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.21.x.config"
248248
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
249249
# BR2_PACKAGE_BUSYBOX_WATCHDOG is not set
250+
BR2_PACKAGE_MTOOLS=y
250251

251252
#
252253
# Audio and video applications
@@ -532,7 +533,7 @@ BR2_PACKAGE_QT_SCRIPT=y
532533
BR2_PACKAGE_DOSFSTOOLS=y
533534
BR2_PACKAGE_DOSFSTOOLS_MKDOSFS=y
534535
BR2_PACKAGE_DOSFSTOOLS_DOSFSCK=y
535-
BR2_PACKAGE_DOSFSTOOLS_DOSFSLABEL=y
536+
# BR2_PACKAGE_DOSFSTOOLS_DOSFSLABEL is not set
536537
BR2_PACKAGE_E2FSPROGS=y
537538
# BR2_PACKAGE_E2FSPROGS_BADBLOCKS is not set
538539
# BR2_PACKAGE_E2FSPROGS_CHATTR is not set

buildroot/package/Config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ menu "Package Selection for the target"
33
source "package/recovery/Config.in"
44
source "package/arora/Config.in"
55
source "package/busybox/Config.in"
6-
6+
source "package/mtools/Config.in"
77
# Audio and video applications
88
source "package/multimedia/Config.in"
99

buildroot/package/Config.in.host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source "package/e2fsprogs/Config.in.host"
66
source "package/genimage/Config.in.host"
77
source "package/genpart/Config.in.host"
88
source "package/lpc3250loader/Config.in.host"
9-
source "package/mtools/Config.in.host"
9+
source "package/mtools-host/Config.in.host"
1010
source "package/omap-u-boot-utils/Config.in.host"
1111
source "package/openocd/Config.in.host"
1212
source "package/sam-ba/Config.in.host"
File renamed without changes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#############################################################
2+
#
3+
# mtools
4+
#
5+
#############################################################
6+
7+
MTOOLS_VERSION = 4.0.18
8+
MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.bz2
9+
MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools/
10+
MTOOLS_LICENSE = GPLv3+
11+
MTOOLS_LICENSE_FILES = COPYING
12+
13+
MTOOLS_CONF_OPT = --enable-xdf \
14+
--enable-vold \
15+
--enable-new-vold
16+
17+
$(eval $(host-autotools-package))

buildroot/package/mtools/.mtoolsrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mtools_skip_check=1

buildroot/package/mtools/Config.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
config BR2_PACKAGE_MTOOLS
2+
bool "mtools"
3+
help
4+
Mtools is a collection of utilities to access MS-DOS disks from
5+
Unix without mounting them. It supports Win'95 style long file
6+
names, OS/2 Xdf disks and 2m disks (store up to 1992k on a high
7+
density 3 1/2 disk).
8+
9+
http://www.tux.org/pub/tux/mtools/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
drive p:file="/dev/mmcblk0p1"

buildroot/package/mtools/mtools.mk

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,24 @@ MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.bz2
99
MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools/
1010
MTOOLS_LICENSE = GPLv3+
1111
MTOOLS_LICENSE_FILES = COPYING
12+
MTOOLS_LDFLAGS = $(TARGET_LDFLAGS)
1213

1314
MTOOLS_CONF_OPT = --enable-xdf \
14-
--enable-vold \
15-
--enable-new-vold
15+
--enable-vold
1616

17-
$(eval $(host-autotools-package))
17+
ifneq ($(BR2_ENABLE_LOCALE),y)
18+
MTOOLS_DEPENDENCIES += libiconv
19+
MTOOLS_LDFLAGS += -liconv
20+
endif
21+
22+
define MTOOLS_BUILD_CMDS
23+
$(MAKE) CC="$(TARGET_CC)" LDFLAGS="$(MTOOLS_LDFLAGS)" -C $(@D)
24+
endef
25+
26+
define MTOOLS_INSTALL_TARGET_CMDS
27+
$(INSTALL) -m 0755 $(@D)/mlabel $(TARGET_DIR)/sbin/mlabel
28+
$(INSTALL) -m 0755 package/mtools/.mtoolsrc $(TARGET_DIR)/.mtoolsrc
29+
$(INSTALL) -m 0755 package/mtools/mtools.conf $(TARGET_DIR)/etc/mtools.conf
30+
endef
31+
32+
$(eval $(autotools-package))

output

0 commit comments

Comments
 (0)