mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-16 10:39:38 +02:00

Turn the CONFIG_UNICODE symbol into a tristate that generates some always
built in code and remove the confusing CONFIG_UNICODE_UTF8_DATA symbol.
Note that a lot of the IS_ENABLED() checks could be turned from cpp
statements into normal ifs, but this change is intended to be fairly
mechanic, so that should be cleaned up later.
Fixes: 2b3d047870
("unicode: Add utf8-data module")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
484 B
484 B
SPDX-License-Identifier: GPL-2.0-only
UTF-8 normalization
config UNICODE tristate "UTF-8 normalization and casefolding support" help Say Y here to enable UTF-8 NFD normalization and NFD+CF casefolding support. If you say M here the large table of case foldings will be a separate loadable module that gets requested only when a file system actually use it.
config UNICODE_NORMALIZATION_SELFTEST tristate "Test UTF-8 normalization support" depends on UNICODE