Home
last modified time | relevance | path

Searched hist:"7 cd343008b967423b06af8f6d3236749c67d12e8" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/Documentation/kbuild/
H A Dkconfig.rstdiff 7cd343008b967423b06af8f6d3236749c67d12e8 Tue Aug 29 19:49:36 CDT 2023 Sergey Senozhatsky <senozhatsky@chromium.org> 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>
/openbmc/linux/scripts/kconfig/
H A Dconfdata.cdiff 7cd343008b967423b06af8f6d3236749c67d12e8 Tue Aug 29 19:49:36 CDT 2023 Sergey Senozhatsky <senozhatsky@chromium.org> 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>