linux-yocto/Documentation/kbuild
Sergey Senozhatsky 6bdf078908 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-03-13 12:50:13 +01:00
..
gcc-plugins.rst doc: gcc-plugins: update gcc-plugins.rst 2021-01-26 06:23:20 +09:00
headers_install.rst Kbuild updates for v5.3 2019-07-12 16:03:16 -07:00
index.rst Kbuild updates for v5.7 2020-03-31 16:03:39 -07:00
issues.rst docs: kbuild: fix build with pdf and fix some minor issues 2019-07-15 11:03:04 -03:00
kbuild.rst kbuild: support LLVM=1 to switch the default tools to Clang/LLVM 2020-04-09 03:18:21 +09:00
kconfig-language.rst kconfig: change "modules" from sub-option to first-level attribute 2021-04-14 15:22:49 +09:00
kconfig-macro-language.rst kconfig: doc: fix $(fileno) to $(filename) 2020-12-21 16:01:44 +09:00
Kconfig.recursion-issue-01
Kconfig.recursion-issue-02 docs: kbuild: Fix a typo in the file Kconfig.recursion-issue-02 2021-04-25 05:13:56 +09:00
kconfig.rst kconfig: add warn-unknown-symbols sanity check 2025-03-13 12:50:13 +01:00
Kconfig.select-break
llvm.rst Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
makefiles.rst Kbuild updates for v5.12 2021-02-25 10:17:31 -08:00
modules.rst kbuild: doc: replace arch/$(ARCH)/ with arch/$(SRCARCH)/ 2020-12-21 13:56:58 +09:00
reproducible-builds.rst gcc-plugins: fix gcc-plugins directory path in documentation 2020-06-28 12:16:55 +09:00