linux-yocto/Documentation/kbuild
Sergey Senozhatsky 328e41aae2 kconfig: add warn-unknown-symbols sanity check
[ Upstream commit 7cd343008b ]

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>
Stable-dep-of: a409fc1463 ("kconfig: fix memory leak in sym_warn_unmet_dep()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-21 13:49:24 +01:00
..
gcc-plugins.rst docs/core-api: expand Fedora instructions for GCC plugins 2022-09-27 13:21:44 -06:00
headers_install.rst
index.rst
issues.rst
kbuild.rst docs: add Rust documentation 2022-09-28 09:02:45 +02:00
kconfig-language.rst asm goto: eradicate CC_HAS_ASM_GOTO 2022-08-21 10:06:28 -07:00
kconfig-macro-language.rst
Kconfig.recursion-issue-01
Kconfig.recursion-issue-02
kconfig.rst kconfig: add warn-unknown-symbols sanity check 2025-02-21 13:49:24 +01:00
Kconfig.select-break
llvm.rst Documentation/llvm: Update Supported Arch table 2022-06-20 08:21:29 +09:00
makefiles.rst Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
modules.rst
reproducible-builds.rst Documentation: kbuild: Add description of git for reproducible builds 2022-10-28 00:16:29 +09:00