From: Namjae Jeon <linkinjeon@gmail.com>
To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu, hch@lst.de,
sj1557.seo@samsung.com, pali.rohar@gmail.com, arnd@arndb.de,
namjae.jeon@samsung.com, viro@zeniv.linux.org.uk,
Namjae Jeon <linkinjeon@gmail.com>
Subject: [PATCH v13 11/13] exfat: add Kconfig and Makefile
Date: Tue, 21 Jan 2020 21:57:25 +0900 [thread overview]
Message-ID: <20200121125727.24260-12-linkinjeon@gmail.com> (raw)
In-Reply-To: <20200121125727.24260-1-linkinjeon@gmail.com>
From: Namjae Jeon <namjae.jeon@samsung.com>
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>
---
fs/Kconfig | 3 ++-
fs/Makefile | 1 +
fs/exfat/Kconfig | 21 +++++++++++++++++++++
fs/exfat/Makefile | 8 ++++++++
4 files changed, 32 insertions(+), 1 deletion(-)
create mode 100644 fs/exfat/Kconfig
create mode 100644 fs/exfat/Makefile
diff --git a/fs/Kconfig b/fs/Kconfig
index a3f97ca2bd46..2f14a04ad91d 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -140,9 +140,10 @@ endmenu
endif # BLOCK
if BLOCK
-menu "DOS/FAT/NT Filesystems"
+menu "DOS/FAT/EXFAT/NT Filesystems"
source "fs/fat/Kconfig"
+source "fs/exfat/Kconfig"
source "fs/ntfs/Kconfig"
endmenu
diff --git a/fs/Makefile b/fs/Makefile
index 007377f28090..17eb9d6ac886 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -83,6 +83,7 @@ obj-$(CONFIG_HUGETLBFS) += hugetlbfs/
obj-$(CONFIG_CODA_FS) += coda/
obj-$(CONFIG_MINIX_FS) += minix/
obj-$(CONFIG_FAT_FS) += fat/
+obj-$(CONFIG_EXFAT_FS) += exfat/
obj-$(CONFIG_BFS_FS) += bfs/
obj-$(CONFIG_ISO9660_FS) += isofs/
obj-$(CONFIG_HFSPLUS_FS) += hfsplus/ # Before hfs to find wrapped HFS+
diff --git a/fs/exfat/Kconfig b/fs/exfat/Kconfig
new file mode 100644
index 000000000000..f2b0cf2c16b5
--- /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
--
2.17.1
next prev parent reply other threads:[~2020-01-21 12:58 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-21 12:57 [PATCH v13 00/13] add the latest exfat driver Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 01/13] exfat: add in-memory and on-disk structures and headers Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 02/13] exfat: add super block operations Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 03/13] exfat: add inode operations Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 04/13] exfat: add directory operations Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 05/13] exfat: add file operations Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 06/13] exfat: add fat entry operations Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 07/13] exfat: add bitmap operations Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 08/13] exfat: add exfat cache Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 09/13] exfat: add misc operations Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 10/13] exfat: add nls operations Namjae Jeon
2020-01-21 12:57 ` Namjae Jeon [this message]
2020-01-21 12:57 ` [PATCH v13 12/13] MAINTAINERS: add exfat filesystem Namjae Jeon
2020-01-21 12:57 ` [PATCH v13 13/13] staging: exfat: make staging/exfat and fs/exfat mutually exclusive Namjae Jeon
2020-01-25 21:32 ` [PATCH v13 00/13] add the latest exfat driver Christoph Hellwig
2020-01-27 9:04 ` Pali Rohár
2020-01-27 9:23 ` Greg KH
2020-01-27 9:28 ` Pali Rohár
2020-01-27 9:33 ` Greg KH
2020-02-18 16:40 ` Pali Rohár
2020-01-21 16:33 [PATCH v13 11/13] exfat: add Kconfig and Makefile Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200121125727.24260-12-linkinjeon@gmail.com \
--to=linkinjeon@gmail.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=hch@lst.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namjae.jeon@samsung.com \
--cc=pali.rohar@gmail.com \
--cc=sj1557.seo@samsung.com \
--cc=valdis.kletnieks@vt.edu \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).