[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YPXeqUV+22sxXS9y@rric.localdomain>
Date: Mon, 19 Jul 2021 22:20:57 +0200
From: Robert Richter <rrichter@....com>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Michal Marek <michal.lkml@...kovi.net>,
Jonathan Corbet <corbet@....net>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] Documentation/kbuild: Document the kconfig choice
default value
On 19.07.21 11:16:09, Robert Richter wrote:
> @@ -417,8 +417,20 @@ definitions of that choice. If a [symbol] is associated to the choice,
> then you may define the same choice (i.e. with the same entries) in another
> place.
>
> -The default value of a choice is set to the first visible choice element.
> -Choice elements do not support the default attribute like menu entries do.
This patch was not properly rebased and does not apply. Will resend a v3.
Sorry for that.
-Robert
> +The default value of a choice is set to the first visible choice
> +element unless it is explicitly set by the 'default' property.
> +
> +Note:
> + Choice options do not support the 'default' attribute.
> +
> +E.g.::
> +
> + choice
> + default C1
> + config C0
> + config C1
> + # no default attribute here
> + endchoice
>
> comment::
>
> --
> 2.29.2
>
Powered by blists - more mailing lists