Re: [PATCH 0/3] kbuild,kconfig: generate lexer/parser C files instead of copying _shipped files

From: Sam Ravnborg
Date: Fri Dec 15 2017 - 14:51:13 EST


Hi Masahiro.

> > In Linux build system convention, pre-generated files are version-
> > controlled with a "_shipped" suffix. During the kernel building,
> > they are simply shipped (copied) removing the suffix.
> >
> > From users' point of view, this approach can reduce external tool
> > dependency for the kernel build,
> >
> > From developers point of view, it is tedious to manually regenerate
> > such artifacts. In fact, we see several patches to regenerate
> > _shipped files. They are noise commits.
...

Nice cleanup we should have does years ago.
When we introduced this we did this to minimize the time
it took to configure a clean kernel - as one of the reasons.
Since then the average computer has been significantly faster
so the time to run flex/bison is not an issue anymore.

Sam