[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAS8GO=XzzaVze8y7142Os6J_htBNVV+6kwiXjSxWfnPDw@mail.gmail.com>
Date: Thu, 3 Mar 2022 09:01:22 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Boris Kolpackov <boris@...esynthesis.com>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kconfig: change .config format to use =n instead of "is
not set"
On Wed, Mar 2, 2022 at 10:17 PM Boris Kolpackov <boris@...esynthesis.com> wrote:
>
> Masahiro Yamada <masahiroy@...nel.org> 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@...esynthesis.com>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists