diff options
author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2023-08-30 02:49:36 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-09-01 09:38:04 +0200 |
commit | 7cd343008b967423b06af8f6d3236749c67d12e8 (patch) | |
tree | 5cbe8a1b677fd21ee0ae693e68d2463344725046 /kernel/configs | |
parent | kbuild: dummy-tools: make MPROFILE_KERNEL checks work on BE (diff) | |
download | linux-7cd343008b967423b06af8f6d3236749c67d12e8.tar.xz linux-7cd343008b967423b06af8f6d3236749c67d12e8.zip |
kconfig: add warn-unknown-symbols sanity check
Introduce KCONFIG_WARN_UNKNOWN_SYMBOLS environment variable,
which makes Kconfig warn about unknown config symbols.
This is especially useful for continuous kernel uprevs when
some symbols can be either removed or renamed between kernel
releases (which can go unnoticed otherwise).
By default KCONFIG_WARN_UNKNOWN_SYMBOLS generates warnings,
which are non-terminal. There is an additional environment
variable KCONFIG_WERROR that overrides this behaviour and
turns warnings into errors.
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'kernel/configs')
0 files changed, 0 insertions, 0 deletions