kconfig: generate lexer and parser during build instead of shipping

zconf.lex.c is generated by flex, zconf.tab.c by bison.  Instead of
running flex and bison during the kernel building, we conventionally
version-control those artifacts with _shipped suffix.

It is tedious to manually regenerate them every time we change the
real sources, zconf.l and zconf.y.

Remove the _shipped files and switch over to build-time generation
of the intermediate C files.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2017-12-10 01:02:30 +09:00
parent 033dba2ec0
commit 29c833061c
3 changed files with 1 additions and 4944 deletions

View File

@ -191,6 +191,7 @@ gconf-objs := gconf.o zconf.tab.o
hostprogs-y := conf nconf mconf kxgettext qconf gconf hostprogs-y := conf nconf mconf kxgettext qconf gconf
targets += zconf.tab.c zconf.lex.c
clean-files := qconf.moc .tmp_qtcheck .tmp_gtkcheck clean-files := qconf.moc .tmp_qtcheck .tmp_gtkcheck
clean-files += zconf.tab.c zconf.lex.c gconf.glade.h clean-files += zconf.tab.c zconf.lex.c gconf.glade.h
clean-files += config.pot linux.pot clean-files += config.pot linux.pot

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff