summaryrefslogtreecommitdiffstats
path: root/fs/unicode/Makefile
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi2019-04-25 19:51:22 +0200
committerTheodore Ts'o2019-04-25 19:51:22 +0200
commit9d53690f0d4e5686e80f034ea584b7a822b356d3 (patch)
treec123dcc3f2e193f584acc2560a1358d546e66810 /fs/unicode/Makefile
parentunicode: reduce the size of utf8data[] (diff)
downloadkernel-qcow2-linux-9d53690f0d4e5686e80f034ea584b7a822b356d3.tar.gz
kernel-qcow2-linux-9d53690f0d4e5686e80f034ea584b7a822b356d3.tar.xz
kernel-qcow2-linux-9d53690f0d4e5686e80f034ea584b7a822b356d3.zip
unicode: implement higher level API for string handling
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>
Diffstat (limited to 'fs/unicode/Makefile')
-rw-r--r--fs/unicode/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/unicode/Makefile b/fs/unicode/Makefile
index 16d43d180416..bfb0360687df 100644
--- a/fs/unicode/Makefile
+++ b/fs/unicode/Makefile
@@ -1,6 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_UNICODE) += utf8-norm.o
+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.