• Linus Torvalds's avatar
    Merge tag 'kconfig-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 562f36ed
    Linus Torvalds authored
    Pull Kconfig updates from Masahiro Yamada:
     "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.
       - 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
       - hide silentoldconfig from 'make help' to stop confusing people
       - fix misc things and cleanups"
    * tag 'kconfig-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (37 commits)
      kconfig: Remove silentoldconfig from help and docs; fix kconfig/conf's help
      kconfig: make "Selected by:" and "Implied by:" readable
      kconfig: announce removal of oldnoconfig if used
      kconfig: fix make xconfig when gettext is missing
      kconfig: Clarify menu and 'if' dependency propagation
      kconfig: Document 'if' flattening logic
      kconfig: Clarify choice dependency propagation
      kconfig: Document SYMBOL_OPTIONAL logic
      kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIX
      kconfig: use default 'yy' prefix for lexer and parser
      kconfig: make conf_unsaved a local variable of conf_read()
      kconfig: make xfgets() really static
      kconfig: make input_mode static
      kconfig: Warn if there is more than one help text
      kconfig: drop 'boolean' keyword
      kconfig: use bool instead of boolean for type definition attributes, again
      kconfig: Remove menu_end_entry()
      kconfig: Document important expression functions
      kconfig: Document automatic submenu creation code
      kconfig: Fix choice symbol expression leak