aboutsummaryrefslogtreecommitdiffstats
path: root/fs/unicode/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-15 09:00:05 +0200
committerGabriel Krisman Bertazi <krisman@collabora.com>2021-10-12 11:41:39 -0300
commit2b3d047870120bcd46d7cc257d19ff49328fd585 (patch)
tree246aaddfd7767703c9d3cc8a8828c6f064298d09 /fs/unicode/Kconfig
parentunicode: cache the normalization tables in struct unicode_map (diff)
downloadlinux-dev-2b3d047870120bcd46d7cc257d19ff49328fd585.tar.xz
linux-dev-2b3d047870120bcd46d7cc257d19ff49328fd585.zip
unicode: Add utf8-data module
utf8data.h contains a large database table which is an auto-generated decodification trie for the unicode normalization functions. Allow building it into a separate module. Based on a patch from Shreeya Patel <shreeya.patel@collabora.com>. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Diffstat (limited to 'fs/unicode/Kconfig')
-rw-r--r--fs/unicode/Kconfig13
1 files changed, 11 insertions, 2 deletions
diff --git a/fs/unicode/Kconfig b/fs/unicode/Kconfig
index 2c27b9a5cd6c..610d7bc05d6e 100644
--- a/fs/unicode/Kconfig
+++ b/fs/unicode/Kconfig
@@ -8,7 +8,16 @@ config UNICODE
Say Y here to enable UTF-8 NFD normalization and NFD+CF casefolding
support.
+config UNICODE_UTF8_DATA
+ tristate "UTF-8 normalization and casefolding tables"
+ depends on UNICODE
+ default UNICODE
+ help
+ This contains a large table of case foldings, which can be loaded as
+ a separate module if you say M here. To be on the safe side stick
+ to the default of Y. Saying N here makes no sense, if you do not want
+ utf8 casefolding support, disable CONFIG_UNICODE instead.
+
config UNICODE_NORMALIZATION_SELFTEST
tristate "Test UTF-8 normalization support"
- depends on UNICODE
- default n
+ depends on UNICODE_UTF8_DATA