summaryrefslogtreecommitdiffstats
path: root/fs/exfat
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2020-03-02 15:21:42 +0900
committerAl Viro <viro@zeniv.linux.org.uk>2020-03-05 21:00:40 -0500
commitb9d1e2e6265f5dc25e9f5dbfbde3e53d8a4958ac (patch)
treed44bb72a45d59c146eef53d430311f2a6cd02505 /fs/exfat
parent370e812b3ec190fa492c9fd5a80c38b086d105c0 (diff)
downloadlinux-b9d1e2e6265f5dc25e9f5dbfbde3e53d8a4958ac.tar.gz
linux-b9d1e2e6265f5dc25e9f5dbfbde3e53d8a4958ac.tar.bz2
linux-b9d1e2e6265f5dc25e9f5dbfbde3e53d8a4958ac.zip
exfat: add Kconfig and Makefile
This adds the Kconfig and Makefile for exfat. Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exfat')
-rw-r--r--fs/exfat/Kconfig21
-rw-r--r--fs/exfat/Makefile8
2 files changed, 29 insertions, 0 deletions
diff --git a/fs/exfat/Kconfig b/fs/exfat/Kconfig
new file mode 100644
index 000000000000..2d3636dc5b8c
--- /dev/null
+++ b/fs/exfat/Kconfig
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+config EXFAT_FS
+ tristate "exFAT filesystem support"
+ select NLS
+ help
+ This allows you to mount devices formatted with the exFAT file system.
+ exFAT is typically used on SD-Cards or USB sticks.
+
+ To compile this as a module, choose M here: the module will be called
+ exfat.
+
+config EXFAT_DEFAULT_IOCHARSET
+ string "Default iocharset for exFAT"
+ default "utf8"
+ depends on EXFAT_FS
+ help
+ Set this to the default input/output character set to use for
+ converting between the encoding is used for user visible filename and
+ UTF-16 character that exfat filesystem use, and can be overridden with
+ the "iocharset" mount option for exFAT filesystems.
diff --git a/fs/exfat/Makefile b/fs/exfat/Makefile
new file mode 100644
index 000000000000..ed51926a4971
--- /dev/null
+++ b/fs/exfat/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# Makefile for the linux exFAT filesystem support.
+#
+obj-$(CONFIG_EXFAT_FS) += exfat.o
+
+exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \
+ file.o balloc.o