Re: [RFCv2 00/13] Kbuild: factor parser rules

Arnaud Lacombe
2011-05-23T08:39:40Z

Hi,

On Mon, May 23, 2011 at 4:10 AM, Arnaud Lacombe <lacombar@gmail.com> wrote:
> Hi,
> [...]
> A few notes:
>  - the parser should not include the lexer; however, this has the advantage to
>   avoid having to deals with the parser's header.
fixed in https://github.com/lacombar/linux-2.6/commits/kbuild-implicit-parser-rule.

new diffstat:

% git ds -M v2.6.39..HEAD
scripts/Makefile.lib | 38 ++-
scripts/dtc/Makefile | 23 -
scripts/dtc/dtc-lexer.lex.c_shipped | 59 +---
scripts/dtc/dtc-parser.tab.c_shipped | 116 +----
scripts/dtc/dtc-parser.tab.h_shipped | 11 +-
scripts/genksyms/.gitignore | 7 +-
scripts/genksyms/Makefile | 48 +--
scripts/genksyms/keywords.gperf | 3 +
...{keywords.c_shipped => keywords.hash.c_shipped} | 96 ++--
scripts/genksyms/lex.l | 4 +-
.../genksyms/{lex.c_shipped => lex.lex.c_shipped} | 359 +--------------
.../{parse.c_shipped => parse.tab.c_shipped} | 198 +-------
.../{parse.h_shipped => parse.tab.h_shipped} | 7 +-
scripts/kconfig/.gitignore | 2 +-
scripts/kconfig/Makefile | 31 +--
scripts/kconfig/lkc.h | 4 +-
scripts/kconfig/zconf.gperf | 2 +-
scripts/kconfig/zconf.hash.c_shipped | 273 +++++++-----
scripts/kconfig/zconf.l | 20 +-
.../{lex.zconf.c_shipped => zconf.lex.c_shipped} | 493 +++++++++-----------
scripts/kconfig/zconf.tab.c_shipped | 102 ++---
.../zconf.tab.h_shipped} | 96 ++--
scripts/kconfig/zconf.y | 44 +-
23 files changed, 668 insertions(+), 1368 deletions(-)

That should remove any incompatibilities with the upstream dtc tree.

- Arnaud