lkml.org 
[lkml]   [2023]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] kconfig: introduce listunknownconfig
On (23/08/26 14:38), Masahiro Yamada wrote:
> > 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.
>
>
>
> With a little more thought, the command line option approach
> would require more code changes and efforts.
>

Sounds good.

> So, I am OK with adding new env variables.
> Could you add two env variables?

Absolutely.

> I think
>
> the first two hunks (show warnings for symbols not found in Kconfig)
> -> KCONFIG_WARN_UNKNOWN_SYMBOLS
>
> the last hunk (turn warnings into errors)
> -> KCONFIG_WERROR
>
> (You can suggest a better naming if you have, but I guess
> KCONFIG_WARN_* will be consistent in case
> more warning requests come up.)

Looks good.

I'll send a patch in the coming days.

\
 
 \ /
  Last update: 2023-08-26 07:55    [W:0.140 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site