From: Florian Fainelli Date: Sat, 9 Dec 2006 19:47:32 +0000 (+0000) Subject: Enable msdos fs support and package it X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=116c345130030300e0c238f101788ae2946bbd59;p=librecmc%2Flibrecmc.git Enable msdos fs support and package it SVN-Revision: 5741 --- diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk index 63bd9ffedb..eae83efc91 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 57e0c562de..2a6254b588 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 cd2cf62688..df6d39e9c8 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 fbaa0213c7..95c85736d7 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 481e0007fa..8c5f593d74 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 ff9fdbcfc1..358e61965b 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 182305bb8f..ff6098baa4 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 b79ab0967c..9c454110e5 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 e4d179bbc4..02aee5cf81 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"