]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - scripts/kconfig/confdata.c
kconfig: change defconfig_list option to environment variable
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 13 Mar 2021 19:48:32 +0000 (04:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 14 Apr 2021 06:22:48 +0000 (15:22 +0900)
commitb75b0a819af9f78fc395b189cddd40f590194d20
treed02451f57f32ad27f68c01a8c56a3ec83ec6ed4d
parent406616213bb776a6e6ec69192df39ab1042690f1
kconfig: change defconfig_list option to environment variable

"defconfig_list" is a weird option that defines a static symbol that
declares the list of base config files in case the .config does not
exist yet.

This is quite different from other normal symbols; we just abused the
"string" type and the "default" properties to list out the input files.
They must be fixed values since these are searched for and loaded in
the parse stage.

It is an ugly hack, and should not exist in the first place. Providing
this feature as an environment variable is a saner approach.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
12 files changed:
Documentation/kbuild/kconfig-language.rst
Documentation/kbuild/kconfig.rst
init/Kconfig
scripts/kconfig/Makefile
scripts/kconfig/confdata.c
scripts/kconfig/expr.h
scripts/kconfig/lexer.l
scripts/kconfig/lkc.h
scripts/kconfig/menu.c
scripts/kconfig/parser.y
scripts/kconfig/symbol.c
scripts/kconfig/tests/conftest.py