Re: [RFC][PATCH] kconfig: introduce listunknownconfig

From: Masahiro Yamada
Date: Sat Aug 19 2023 - 22:36:07 EST


On Thu, Aug 17, 2023 at 5:30 PM Sergey Senozhatsky
<senozhatsky@xxxxxxxxxxxx> wrote:
>
> Example:
> Suppose old .config has the following two options which
> were removed from the recent kernel:
>
> $ cat .config
> CONFIG_DISABLE_BUGS=y
>
> Running `make listunknownconfig` produces the following
> list of unrecognized symbols:
>
> .config:6:warning: unknown symbol: DISABLE_BUGS
> .config:7:warning: unknown unset symbol: ENABLE_WINAPI
>
> Signed-off-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>


A new target is not what I like to see.


We decided to add KCONFIG_VERBOSE, which will be used to
warn options accidentally disabled or downgraded.

https://lore.kernel.org/linux-kbuild/20230809002436.18079-1-sunying@xxxxxxxxxxxxxx/T/#u


--
Best Regards

Masahiro Yamada