Skip to content

Commit b9d1e2e

Browse files
namjaejeonAl Viro
authored andcommitted
exfat: add Kconfig and Makefile
This adds the Kconfig and Makefile for exfat. Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Sungjong Seo <[email protected]> Reviewed-by: Pali Rohár <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 370e812 commit b9d1e2e

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

fs/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,10 @@ endmenu
140140
endif # BLOCK
141141

142142
if BLOCK
143-
menu "DOS/FAT/NT Filesystems"
143+
menu "DOS/FAT/EXFAT/NT Filesystems"
144144

145145
source "fs/fat/Kconfig"
146+
source "fs/exfat/Kconfig"
146147
source "fs/ntfs/Kconfig"
147148

148149
endmenu

fs/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ obj-$(CONFIG_HUGETLBFS) += hugetlbfs/
8383
obj-$(CONFIG_CODA_FS) += coda/
8484
obj-$(CONFIG_MINIX_FS) += minix/
8585
obj-$(CONFIG_FAT_FS) += fat/
86+
obj-$(CONFIG_EXFAT_FS) += exfat/
8687
obj-$(CONFIG_BFS_FS) += bfs/
8788
obj-$(CONFIG_ISO9660_FS) += isofs/
8889
obj-$(CONFIG_HFSPLUS_FS) += hfsplus/ # Before hfs to find wrapped HFS+

fs/exfat/Kconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
3+
config EXFAT_FS
4+
tristate "exFAT filesystem support"
5+
select NLS
6+
help
7+
This allows you to mount devices formatted with the exFAT file system.
8+
exFAT is typically used on SD-Cards or USB sticks.
9+
10+
To compile this as a module, choose M here: the module will be called
11+
exfat.
12+
13+
config EXFAT_DEFAULT_IOCHARSET
14+
string "Default iocharset for exFAT"
15+
default "utf8"
16+
depends on EXFAT_FS
17+
help
18+
Set this to the default input/output character set to use for
19+
converting between the encoding is used for user visible filename and
20+
UTF-16 character that exfat filesystem use, and can be overridden with
21+
the "iocharset" mount option for exFAT filesystems.

fs/exfat/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
#
3+
# Makefile for the linux exFAT filesystem support.
4+
#
5+
obj-$(CONFIG_EXFAT_FS) += exfat.o
6+
7+
exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \
8+
file.o balloc.o

0 commit comments

Comments
 (0)