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