]> git.sur5r.net Git - kconfig-frontends/log
kconfig-frontends
12 years agoscripts: add autostuff stuff
Yann E. MORIN" [Tue, 17 Jan 2012 20:01:01 +0000 (21:01 +0100)]
scripts: add autostuff stuff

To be noted:

- the lex/yacc/gperf generated files include one another, so it is
  not possible to use proper automake constructs to generate the
  lexer

- it is possible to tell bison and flex to change the prefix of the
  generated symbols, different from the default 'yy'; but if one
  does so, then the names of the generated files also include this
  prefix instead of the default (here, we use 'zconf' instead of 'yy'

- autoconf has a /built-in/ check for lex, but has no way to know
  that the output files is differently named

Because of all these mis-features, the autostuff files contain some
dubious constructs, as a palliative.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
12 years agoInitial import.
Yann E. MORIN" [Tue, 17 Jan 2012 19:51:30 +0000 (20:51 +0100)]
Initial import.

Import the kconfig stuff from:
  https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=script;hb=c2bc3a316a7281f67e36b34dac2802cbe36a9128

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>