xref: /linux-6.15/fs/unicode/Makefile (revision 9d53690f)
1# SPDX-License-Identifier: GPL-2.0
2
3obj-$(CONFIG_UNICODE) += unicode.o
4
5unicode-y := utf8-norm.o utf8-core.o
6
7# This rule is not invoked during the kernel compilation.  It is used to
8# regenerate the utf8data.h header file.
9utf8data.h.new: *.txt $(objdir)/scripts/mkutf8data
10	$(objdir)/scripts/mkutf8data \
11		-a DerivedAge.txt \
12		-c DerivedCombiningClass.txt \
13		-p DerivedCoreProperties.txt \
14		-d UnicodeData.txt \
15		-f CaseFolding.txt \
16		-n NormalizationCorrections.txt \
17		-t NormalizationTest.txt \
18		-o $@
19