From 116c345130030300e0c238f101788ae2946bbd59 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 9 Dec 2006 19:47:32 +0000 Subject: [PATCH] Enable msdos fs support and package it SVN-Revision: 5741 --- package/kernel/modules/fs.mk | 12 ++++++++++++ target/linux/brcm-2.4/config | 2 +- target/linux/brcm-2.6/config | 2 +- target/linux/brcm63xx-2.6/config | 7 +++++-- target/linux/ixp4xx-2.6/config | 2 +- target/linux/rb532-2.6/config | 2 +- target/linux/rdc-2.6/config | 2 +- target/linux/sibyte-2.6/config | 2 +- target/linux/x86-2.6/config | 2 +- 9 files changed, 24 insertions(+), 9 deletions(-) diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk index 63bd9ffedb6a..eae83efc91d3 100644 --- a/package/kernel/modules/fs.mk +++ b/package/kernel/modules/fs.mk @@ -88,6 +88,18 @@ define KernelPackage/fs-nfs endef $(eval $(call KernelPackage,fs-nfs)) +define KernelPackage/fs-msdos + TITLE:=MSDOS filesystem support + DESCRIPTION:=Kernel module for MSDOS filesystem support + DEPENDS:=+kmod-nls-base + KCONFIG:=$(CONFIG_MSDOS_FS) + SUBMENU:=$(FSMENU) + AUTOLOAD:=$(call AutoLoad,30,fat vfat) + FILES:= \ + $(MODULES_DIR)/kernel/fs/msdos/msdos.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,fs-msdos)) + define KernelPackage/fs-vfat TITLE:=VFAT filesystem support DESCRIPTION:=Kernel module for VFAT filesystem support diff --git a/target/linux/brcm-2.4/config b/target/linux/brcm-2.4/config index 57e0c562dec7..2a6254b58813 100644 --- a/target/linux/brcm-2.4/config +++ b/target/linux/brcm-2.4/config @@ -1070,7 +1070,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 diff --git a/target/linux/brcm-2.6/config b/target/linux/brcm-2.6/config index cd2cf626886e..df6d39e9c823 100644 --- a/target/linux/brcm-2.6/config +++ b/target/linux/brcm-2.6/config @@ -1551,7 +1551,7 @@ CONFIG_UDF_NLS=y # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set +CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" diff --git a/target/linux/brcm63xx-2.6/config b/target/linux/brcm63xx-2.6/config index fbaa0213c7c9..95c85736d79d 100644 --- a/target/linux/brcm63xx-2.6/config +++ b/target/linux/brcm63xx-2.6/config @@ -1424,8 +1424,11 @@ CONFIG_UDF_NLS=y # # DOS/FAT/NT Filesystems # -# CONFIG_MSDOS_FS is not set -# CONFIG_VFAT_FS is not set +CONFIG_FAT_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" # CONFIG_NTFS_FS is not set # diff --git a/target/linux/ixp4xx-2.6/config b/target/linux/ixp4xx-2.6/config index 481e0007fa80..8c5f593d74a0 100644 --- a/target/linux/ixp4xx-2.6/config +++ b/target/linux/ixp4xx-2.6/config @@ -1187,7 +1187,7 @@ CONFIG_UDF_NLS=y # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set +CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" diff --git a/target/linux/rb532-2.6/config b/target/linux/rb532-2.6/config index ff9fdbcfc127..358e61965ba8 100644 --- a/target/linux/rb532-2.6/config +++ b/target/linux/rb532-2.6/config @@ -1095,7 +1095,7 @@ CONFIG_UDF_NLS=y # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set +CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" diff --git a/target/linux/rdc-2.6/config b/target/linux/rdc-2.6/config index 182305bb8fe7..ff6098baa449 100644 --- a/target/linux/rdc-2.6/config +++ b/target/linux/rdc-2.6/config @@ -1256,7 +1256,7 @@ CONFIG_UDF_NLS=y # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set +CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" diff --git a/target/linux/sibyte-2.6/config b/target/linux/sibyte-2.6/config index b79ab0967c66..9c454110e5e3 100644 --- a/target/linux/sibyte-2.6/config +++ b/target/linux/sibyte-2.6/config @@ -1103,7 +1103,7 @@ CONFIG_UDF_NLS=y # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set +CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" diff --git a/target/linux/x86-2.6/config b/target/linux/x86-2.6/config index e4d179bbc4a7..02aee5cf81a1 100644 --- a/target/linux/x86-2.6/config +++ b/target/linux/x86-2.6/config @@ -1863,7 +1863,7 @@ CONFIG_UDF_NLS=y # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m -# CONFIG_MSDOS_FS is not set +CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" -- 2.30.2