• Sergey Senozhatsky's avatar
    kconfig: add warn-unknown-symbols sanity check · 7cd34300
    Sergey Senozhatsky authored
    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: default avatarSergey Senozhatsky <senozhatsky@chromium.org>
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    7cd34300
confdata.c 25.4 KB