summaryrefslogtreecommitdiffstats
path: root/fs/unicode/Makefile
blob: 671d31f830066bab172448fc476c84244dfc8aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_UNICODE) += unicode.o
obj-$(CONFIG_UNICODE_NORMALIZATION_SELFTEST) += utf8-selftest.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 $@