On Wed, Mar 2, 2022 at 10:17 PM Boris Kolpackov <boris@xxxxxxxxxxxxxxxxx> wrote: > > Masahiro Yamada <masahiroy@xxxxxxxxxx> writes: > > > With this commit, Kconfig will output disable options in a more natural > > form, "CONFIG_FOO=n". > > While I agree with the overall direction, I was wondering how this > relates to string and int/hex options. It appears that they either > have a value or are not written to the .config at all, for example, > if the option is disabled via the `depends on` attribute. At first > I thought this would be inconsistent (i.e., =n for bool and omitted > for string), but it appears a disabled bool option is also omitted. > Hopefully the fact that sometimes a false bool option is =n and > sometimes it's omitted won't surprise anyone. Options with unmet 'depends on' are all omitted in the .config It is consistent for all types. > > Reviewed-by: Boris Kolpackov <boris@xxxxxxxxxxxxxxxxx> -- Best Regards Masahiro Yamada