From 99ba49b999276536b24f0b5ffecb34b1b873bc29 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 9 Dec 2006 19:46:28 +0000 Subject: [PATCH] Add msdos kernel module (#1029) SVN-Revision: 5740 --- openwrt/target/linux/Config.in | 6 ++++++ openwrt/target/linux/control/kmod-msdos.control | 4 ++++ openwrt/target/linux/linux-2.4/Makefile | 3 +++ openwrt/target/linux/linux-2.4/config/brcm | 2 +- 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 openwrt/target/linux/control/kmod-msdos.control diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in index 865ec284f4..afb0970cc2 100644 --- a/openwrt/target/linux/Config.in +++ b/openwrt/target/linux/Config.in @@ -363,6 +363,12 @@ config BR2_PACKAGE_KMOD_VFAT Kernel modules for VFAT filesystem support useful for usb mass storage devices +config BR2_PACKAGE_KMOD_MSDOS + tristate "MSDOS filesystem support" + default m + help + Kernel modules for MSDOS filesystem support + config BR2_PACKAGE_KMOD_MINIX tristate "MINIX filesystem support" default m diff --git a/openwrt/target/linux/control/kmod-msdos.control b/openwrt/target/linux/control/kmod-msdos.control new file mode 100644 index 0000000000..e01c4b17ea --- /dev/null +++ b/openwrt/target/linux/control/kmod-msdos.control @@ -0,0 +1,4 @@ +Package: kmod-msdos +Priority: optional +Section: sys +Description: Kernel modules for MSDOS filesystem support diff --git a/openwrt/target/linux/linux-2.4/Makefile b/openwrt/target/linux/linux-2.4/Makefile index 1fffa68095..b82b2d43eb 100644 --- a/openwrt/target/linux/linux-2.4/Makefile +++ b/openwrt/target/linux/linux-2.4/Makefile @@ -209,6 +209,9 @@ $(eval $(call KMOD_template,VFAT,vfat,\ $(MODULES_DIR)/kernel/fs/vfat/vfat.o \ $(MODULES_DIR)/kernel/fs/fat/fat.o \ ,CONFIG_VFAT_FS,,30,fat vfat)) +$(eval $(call KMOD_template,MSDOS,msdos,\ + $(MODULES_DIR)/kernel/fs/msdos/msdos.o \ +,CONFIG_MSDOS_FS,,30,msdos)) $(eval $(call KMOD_template,NLS_CP437,nls-cp437,\ $(MODULES_DIR)/kernel/fs/nls/nls_cp437.o \ ,CONFIG_NLS_CODEPAGE_437,,40,nls_cp437.o)) diff --git a/openwrt/target/linux/linux-2.4/config/brcm b/openwrt/target/linux/linux-2.4/config/brcm index f2feb79520..e5c9bb28d9 100644 --- a/openwrt/target/linux/linux-2.4/config/brcm +++ b/openwrt/target/linux/linux-2.4/config/brcm @@ -1027,7 +1027,7 @@ CONFIG_EXT3_FS=m CONFIG_JBD=m # CONFIG_JBD_DEBUG is not set CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set +CONFIG_MSDOS_FS=m # CONFIG_UMSDOS_FS is not set CONFIG_VFAT_FS=m # CONFIG_EFS_FS is not set -- 2.30.2