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

From: Masahiro Yamada
Date: Fri Aug 25 2023 - 21:16:22 EST


On Thu, Aug 24, 2023 at 7:50 PM Sergey Senozhatsky
<senozhatsky@xxxxxxxxxxxx> wrote:
>
> On (23/08/24 10:00), Masahiro Yamada wrote:
>
> > For the MFD_RK808 case particularly,
> > I believe Kconfig showed MFD_RK8XX_I2C
> > as a new option.
>
> I think there were some other unmet dependencies for MFD_RK8XX_I2C and
> I don't think the new config was shown. But even if it was, we still
> would have no idea that this meant "MFD_RK808 is not available anymore
> and the corresponding code won't get compiled". So the "this is not
> recognized anymore" is still needed and is quite helpful.
>
> Would you be OK with "list missing" being a warning (not a terminal
> condition)?


I am fine with implementing both.

But, I'd like to implement them as separate options.
(one option for warn unknown symbols,
another for for turning warnings into errors)



As I replied to Tomasz, I am considering about
env variables vs command line options associated with W= option.





--
Best Regards
Masahiro Yamada