Merge tag 'kconfig-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kconfig updates from Masahiro Yamada: "Kconfig now supports new functionality to perform textual substitution. It has been a while since Linus suggested to move compiler option tests from makefiles to Kconfig. Finally, here it is. The implementation has been generalized into a Make-like macro language. Some built-in functions such as 'shell' are provided. Variables and user-defined functions are also supported so that 'cc-option', 'ld-option', etc. are implemented as macros. Summary: - refactor package checks for building {m,n,q,g}conf - remove unused/unmaintained localization support - remove Kbuild cache - drop CONFIG_CROSS_COMPILE support - replace 'option env=' with direct variable expansion - add built-in functions such as 'shell' - support variables and user-defined functions - add helper macros as as 'cc-option' - add unit tests and a document of the new macro language - add 'testconfig' to help - fix warnings from GCC 8.1" * tag 'kconfig-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (30 commits) kconfig: Avoid format overflow warning from GCC 8.1 kbuild: Move last word of nconfig help to the previous line kconfig: Add testconfig into make help output kconfig: add basic helper macros to scripts/Kconfig.include kconfig: show compiler version text in the top comment kconfig: test: add Kconfig macro language tests Documentation: kconfig: document a new Kconfig macro language kconfig: error out if a recursive variable references itself kconfig: add 'filename' and 'lineno' built-in variables kconfig: add 'info', 'warning-if', and 'error-if' built-in functions kconfig: expand lefthand side of assignment statement kconfig: support append assignment operator kconfig: support simply expanded variable kconfig: support user-defined function and recursively expanded variable kconfig: begin PARAM state only when seeing a command keyword kconfig: replace $(UNAME_RELEASE) with function call kconfig: add 'shell' built-in function kconfig: add built-in function support kconfig: make default prompt of mainmenu less specific kconfig: remove sym_expand_string_value() ...
No related branches found
No related tags found
Showing
- Documentation/kbuild/kconfig-language.txt 0 additions, 8 deletionsDocumentation/kbuild/kconfig-language.txt
- Documentation/kbuild/kconfig-macro-language.txt 242 additions, 0 deletionsDocumentation/kbuild/kconfig-macro-language.txt
- Kconfig 5 additions, 5 deletionsKconfig
- MAINTAINERS 2 additions, 1 deletionMAINTAINERS
- Makefile 4 additions, 6 deletionsMakefile
- arch/sh/Kconfig 2 additions, 2 deletionsarch/sh/Kconfig
- arch/sparc/Kconfig 2 additions, 2 deletionsarch/sparc/Kconfig
- arch/um/Kconfig.common 0 additions, 4 deletionsarch/um/Kconfig.common
- arch/x86/Kconfig 2 additions, 2 deletionsarch/x86/Kconfig
- arch/x86/um/Kconfig 7 additions, 3 deletionsarch/x86/um/Kconfig
- init/Kconfig 4 additions, 21 deletionsinit/Kconfig
- scripts/Kbuild.include 14 additions, 88 deletionsscripts/Kbuild.include
- scripts/Kconfig.include 27 additions, 0 deletionsscripts/Kconfig.include
- scripts/kconfig/.gitignore 0 additions, 4 deletionsscripts/kconfig/.gitignore
- scripts/kconfig/Makefile 53 additions, 141 deletionsscripts/kconfig/Makefile
- scripts/kconfig/POTFILES.in 0 additions, 12 deletionsscripts/kconfig/POTFILES.in
- scripts/kconfig/check.sh 0 additions, 14 deletionsscripts/kconfig/check.sh
- scripts/kconfig/conf.c 23 additions, 28 deletionsscripts/kconfig/conf.c
- scripts/kconfig/confdata.c 7 additions, 32 deletionsscripts/kconfig/confdata.c
- scripts/kconfig/gconf-cfg.sh 23 additions, 0 deletionsscripts/kconfig/gconf-cfg.sh
Loading
Please register or sign in to comment