linux-hardened/scripts/genksyms
Masahiro Yamada 833e622459 genksyms: generate lexer and parser during build instead of shipping
Now that the kernel build supports flex and bison, remove the _shipped
files and generate them during the build instead.

There are no more shipped lexer and parser, so I ripped off the rules
in scripts/Malefile.lib that were used for REGENERATE_PARSERS.

The genksyms parser has ambiguous grammar, which would emit warnings:

 scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
 scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]

They are normally suppressed, but displayed when W=1 is given.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-04-07 19:04:02 +09:00
..
.gitignore .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore 2018-04-07 19:04:02 +09:00
genksyms.c kbuild: modversions: add infrastructure for emitting relative CRCs 2017-02-03 08:28:25 -08:00
genksyms.h genksyms: add printf format attribute to error_with_pos() 2017-06-06 01:22:48 +09:00
keywords.c Remove gperf usage from toolchain 2017-08-19 11:02:53 -07:00
lex.l genksyms: fix gperf removal conversion 2017-09-08 14:32:34 -07:00
Makefile genksyms: generate lexer and parser during build instead of shipping 2018-04-07 19:04:02 +09:00
parse.y genksyms: Fix segfault with invalid declarations 2017-01-05 13:00:54 +01:00