diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-15 10:00:05 +0300 |
---|---|---|
committer | Gabriel Krisman Bertazi <krisman@collabora.com> | 2021-10-12 17:41:39 +0300 |
commit | 2b3d047870120bcd46d7cc257d19ff49328fd585 (patch) | |
tree | 246aaddfd7767703c9d3cc8a8828c6f064298d09 /fs/unicode/Kconfig | |
parent | 6ca99ce756c27852d1ea1e555045de1c920f30ed (diff) | |
download | linux-2b3d047870120bcd46d7cc257d19ff49328fd585.tar.xz |
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/Kconfig | 13 |
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 |