2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2012-11-14 10:55:00 +01:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2016-05-24 00:09:38 +02:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
|
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2008-09-01 15:09:51 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2012-11-14 10:55:00 +01:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2007-07-31 00:37:26 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2012-11-14 10:55:00 +01:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2005-05-05 16:15:52 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2007-10-16 23:30:30 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-16 16:43:49 +01:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2007-05-02 19:27:21 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2009-10-22 15:38:26 -04:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2017-01-16 14:31:15 -08:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
2017-01-16 14:31:15 -08:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2009-10-22 15:38:26 -04:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2019-04-29 23:53:50 +09:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
|
|
|
|
|
2009-10-17 21:33:34 +02:00
|
|
|
|
2009-10-22 15:38:26 -04:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2017-01-16 14:31:15 -08:00
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2005-08-03 19:49:18 +01:00
|
|
|
|
2005-07-16 16:43:49 +01:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2019-04-29 23:53:50 +09:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
|
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
unicode: refactor the rule for regenerating utf8data.h
scripts/mkutf8data is used only when regenerating utf8data.h,
which never happens in the normal kernel build. However, it is
irrespectively built if CONFIG_UNICODE is enabled.
Moreover, there is no good reason for it to reside in the scripts/
directory since it is only used in fs/unicode/.
Hence, move it from scripts/ to fs/unicode/.
In some cases, we bypass build artifacts in the normal build. The
conventional way to do so is to surround the code with ifdef REGENERATE_*.
For example,
- 7373f4f83c71 ("kbuild: add implicit rules for parser generation")
- 6aaf49b495b4 ("crypto: arm,arm64 - Fix random regeneration of S_shipped")
I rewrote the rule in a more kbuild'ish style.
In the normal build, utf8data.h is just shipped from the check-in file.
$ make
[ snip ]
SHIPPED fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
If you want to generate utf8data.h based on UCD, put *.txt files into
fs/unicode/, then pass REGENERATE_UTF8DATA=1 from the command line.
The mkutf8data tool will be automatically compiled to generate the
utf8data.h from the *.txt files.
$ make REGENERATE_UTF8DATA=1
[ snip ]
HOSTCC fs/unicode/mkutf8data
GEN fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
I renamed the check-in utf8data.h to utf8data.h_shipped so that this
will work for the out-of-tree build.
You can update it based on the latest UCD like this:
$ make REGENERATE_UTF8DATA=1 fs/unicode/
$ cp fs/unicode/utf8data.h fs/unicode/utf8data.h_shipped
Also, I added entries to .gitignore and dontdiff.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2019-04-28 13:45:36 -04:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
2019-04-29 18:11:14 +02:00
|
|
|
|
2008-04-18 16:18:16 +01:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2019-04-29 23:53:50 +09:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-06-23 00:10:09 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2019-04-29 23:53:50 +09:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-05 23:37:45 -07:00
|
|
|
|
|
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2007-07-31 00:37:26 -07:00
|
|
|
|
|
|
|
|
|
2017-01-16 14:31:15 -08:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2008-04-18 16:28:35 +01:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2006-09-22 12:37:56 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2007-10-16 23:30:30 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2011-05-23 11:55:42 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|
2005-04-16 15:25:56 -07:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
2005-05-01 08:59:10 -07:00
|
|
|
|
2005-05-05 16:15:52 -07:00
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
unicode: refactor the rule for regenerating utf8data.h
scripts/mkutf8data is used only when regenerating utf8data.h,
which never happens in the normal kernel build. However, it is
irrespectively built if CONFIG_UNICODE is enabled.
Moreover, there is no good reason for it to reside in the scripts/
directory since it is only used in fs/unicode/.
Hence, move it from scripts/ to fs/unicode/.
In some cases, we bypass build artifacts in the normal build. The
conventional way to do so is to surround the code with ifdef REGENERATE_*.
For example,
- 7373f4f83c71 ("kbuild: add implicit rules for parser generation")
- 6aaf49b495b4 ("crypto: arm,arm64 - Fix random regeneration of S_shipped")
I rewrote the rule in a more kbuild'ish style.
In the normal build, utf8data.h is just shipped from the check-in file.
$ make
[ snip ]
SHIPPED fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
If you want to generate utf8data.h based on UCD, put *.txt files into
fs/unicode/, then pass REGENERATE_UTF8DATA=1 from the command line.
The mkutf8data tool will be automatically compiled to generate the
utf8data.h from the *.txt files.
$ make REGENERATE_UTF8DATA=1
[ snip ]
HOSTCC fs/unicode/mkutf8data
GEN fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
I renamed the check-in utf8data.h to utf8data.h_shipped so that this
will work for the out-of-tree build.
You can update it based on the latest UCD like this:
$ make REGENERATE_UTF8DATA=1 fs/unicode/
$ cp fs/unicode/utf8data.h fs/unicode/utf8data.h_shipped
Also, I added entries to .gitignore and dontdiff.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2019-04-28 13:45:36 -04:00
|
|
|
|
2008-10-15 22:01:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-23 13:58:03 -07:00
|
|
|
|
2011-01-05 16:27:15 -08:00
|
|
|
|