9d53690f0d
This patch integrates the utf8n patches with some higher level API to perform UTF-8 string comparison, normalization and casefolding operations. Implemented is a variation of NFD, and casefold is performed by doing full casefold on top of NFD. These algorithms are based on the core implemented by Olaf Weber from SGI. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
19 lines
514 B
Makefile
19 lines
514 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_UNICODE) += unicode.o
|
|
|
|
unicode-y := utf8-norm.o utf8-core.o
|
|
|
|
# This rule is not invoked during the kernel compilation. It is used to
|
|
# regenerate the utf8data.h header file.
|
|
utf8data.h.new: *.txt $(objdir)/scripts/mkutf8data
|
|
$(objdir)/scripts/mkutf8data \
|
|
-a DerivedAge.txt \
|
|
-c DerivedCombiningClass.txt \
|
|
-p DerivedCoreProperties.txt \
|
|
-d UnicodeData.txt \
|
|
-f CaseFolding.txt \
|
|
-n NormalizationCorrections.txt \
|
|
-t NormalizationTest.txt \
|
|
-o $@
|