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

Commit 13821d0

Browse files
committed
Hot-fix release 1.2.1 to fix #70
1 parent 7c90b02 commit 13821d0

File tree

14 files changed

+96
-20
lines changed

14 files changed

+96
-20
lines changed

BUILDME.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ for i in $*; do
1616
if [ $i = "update-firmware" ]; then
1717
rm -rf output/build/rpi-firmware-master
1818
rm -rf dl/rpi-firmware-master.tar.gz
19-
echo "rpi-firmware Git HEAD @ "`git ls-remote --heads https://github.com/raspberrypi/firmware | sed -n 2p` > rpi-firmware-head &
2019
fi
2120

2221
# Redownload userland from raspberrypi/userland master HEAD to update to latest
2322
if [ $i = "update-userland" ]; then
2423
rm -rf output/build/rpi-userland-master
2524
rm -rf dl/rpi-userland-master.tar.gz
26-
echo "rpi-userland Git HEAD @ "`git ls-remote --heads https://github.com/raspberrypi/firmware | sed -n 2p` > rpi-userland-head &
2725
fi
2826
done
2927

@@ -44,8 +42,8 @@ BUILD_INFO="../output/BUILD-DATA"
4442
echo "Build-date: $(date +"%Y-%m-%d")" > "$BUILD_INFO"
4543
echo "NOOBS Version: "`git describe` >> "$BUILD_INFO"
4644
echo "NOOBS Git HEAD @ "`git rev-parse --verify HEAD` >> "$BUILD_INFO"
47-
cat rpi-userland-head >> "$BUILD_INFO"
48-
cat rpi-firmware-head >> "$BUILD_INFO"
45+
cat dl/rpi-userland-head.version >> "$BUILD_INFO"
46+
cat dl/rpi-firmware-head.version >> "$BUILD_INFO"
4947

5048
cd ..
5149

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"
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))

0 commit comments

Comments
 (0)