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