[GIT PULL 3/3] Kconfig updates for v4.16

From: Masahiro Yamada
Date: Thu Feb 01 2018 - 12:02:33 EST


Hi Linus,

Please pull Kconfig updates for v4.16
The detail is in the signed tag log below.



The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215:

Linux 4.15-rc2 (2017-12-03 11:01:47 -0500)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
tags/kconfig-v4.16

for you to fetch changes up to cedd55d49dee941d0e4fabb2f2f555d50c53fad7:

kconfig: Remove silentoldconfig from help and docs; fix
kconfig/conf's help (2018-01-28 05:48:31 +0900)

----------------------------------------------------------------
Kconfig updates for v4.16

A pretty big batch of Kconfig updates. I have to mention the lexer
and parser of Kconfig are now built from real .l and .y sources.
So, flex and bison are the requirement for building the kernel.
Both of them (unlike gperf) have been stable for a long time. This
change has been tested several weeks in linux-next, and I did not
receive any problem report about this.

Summary:

- Add checks for mistakes, like the choice default is not in
choice, help is doubled

- Document data structure and complex code

- Fix various memory leaks

- Change Makefile to build lexer and parser instead of using
pre-generated C files

- Drop 'boolean' keyword, which is equivalent to 'bool'

- Use default 'yy' prefix and remove unneeded Make variables

- Fix gettext() check for xconfig

- Announce that oldnoconfig will be finally removed

- Make 'Selected by:' and 'Implied by' readable in help and
search result

- Hide silentoldconfig from 'make help' to stop confusing people

- Fix misc things and cleanups

----------------------------------------------------------------
Marc Herbert (1):
kconfig: Remove silentoldconfig from help and docs; fix
kconfig/conf's help

Masahiro Yamada (12):
kconfig: display recursive dependency resolution hint just once
kbuild: add LEX and YACC variables
kbuild: prepare to remove C files pre-generated by flex and bison
kconfig: generate lexer and parser during build instead of shipping
kconfig: use bool instead of boolean for type definition attributes, again
kconfig: drop 'boolean' keyword
kconfig: make input_mode static
kconfig: make xfgets() really static
kconfig: make conf_unsaved a local variable of conf_read()
kconfig: use default 'yy' prefix for lexer and parser
kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIX
kconfig: announce removal of oldnoconfig if used

Petr Vorel (1):
kconfig: make "Selected by:" and "Implied by:" readable

Ulf Magnusson (22):
kconfig: Warn if choice default is not in choice
kconfig: Document the 'menu' struct
kconfig: Document the 'symbol' struct
kconfig: Sync zconf.y with zconf.tab.c_shipped
kconfig: Rename menu_check_dep() to rewrite_m()
kconfig: Clarify expression rewriting
kconfig: Clean up modules handling and fix crash
kconfig: Don't leak symbol names during parsing
kconfig: Don't leak 'source' filenames during parsing
kconfig: Don't leak 'option' arguments during parsing
kconfig: Don't leak main menus during parsing
kconfig: Fix automatic menu creation mem leak
kconfig: Fix expr_free() E_NOT leak
kconfig: Fix choice symbol expression leak
kconfig: Document automatic submenu creation code
kconfig: Document important expression functions
kconfig: Remove menu_end_entry()
kconfig: Warn if there is more than one help text
kconfig: Document SYMBOL_OPTIONAL logic
kconfig: Clarify choice dependency propagation
kconfig: Document 'if' flattening logic
kconfig: Clarify menu and 'if' dependency propagation

Yaakov Selkowitz (1):
kconfig: fix make xconfig when gettext is missing

Documentation/admin-guide/README.rst | 5 -
Documentation/process/changes.rst | 25 +
Makefile | 4 +-
drivers/firmware/efi/Kconfig | 2 +-
drivers/staging/rtlwifi/Kconfig | 2 +-
scripts/Makefile.lib | 28 +-
scripts/kconfig/Makefile | 14 +-
scripts/kconfig/conf.c | 25 +-
scripts/kconfig/confdata.c | 6 +-
scripts/kconfig/expr.c | 136 +-
scripts/kconfig/expr.h | 91 +-
scripts/kconfig/kconf_id.c | 1 -
scripts/kconfig/lkc.h | 1 -
scripts/kconfig/mconf.c | 2 +-
scripts/kconfig/menu.c | 186 ++-
scripts/kconfig/symbol.c | 14 +-
scripts/kconfig/zconf.l | 16 +-
scripts/kconfig/zconf.lex.c_shipped | 2473 -----------------------------
scripts/kconfig/zconf.tab.c_shipped | 2471 ----------------------------
scripts/kconfig/zconf.y | 111 +-
20 files changed, 548 insertions(+), 5065 deletions(-)
delete mode 100644 scripts/kconfig/zconf.lex.c_shipped
delete mode 100644 scripts/kconfig/zconf.tab.c_shipped


--
Best Regards
Masahiro Yamada