Skip to content

Commit

Permalink
kconfig: generate lexer and parser during build instead of shipping
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada committed Dec 16, 2017
1 parent 033dba2 commit 29c8330
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4,944 deletions.
1 change: 1 addition & 0 deletions scripts/kconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ gconf-objs := gconf.o zconf.tab.o

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 += zconf.tab.c zconf.lex.c gconf.glade.h
clean-files += config.pot linux.pot
Expand Down
Loading

0 comments on commit 29c8330

Please sign in to comment.