[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNATr0RyqfHz6tRLnbiLGcGMXzvTZBFvqmUX6J12KcV4KGA@mail.gmail.com>
Date: Thu, 18 Jan 2018 22:54:58 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Ulf Magnusson <ulfalizer@...il.com>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] kconfig: Improve auto. menu documentation accuracy
2018-01-14 20:38 GMT+09:00 Ulf Magnusson <ulfalizer@...il.com>:
> An 'if', 'menu', or 'choice' that depends on a preceding symbol will
> also generate a submenu.
>
> No functional changes. Only comments updated.
>
> Signed-off-by: Ulf Magnusson <ulfalizer@...il.com>
> ---
> scripts/kconfig/menu.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
> index 1f7bcceacde3..86031dc36f7d 100644
> --- a/scripts/kconfig/menu.c
> +++ b/scripts/kconfig/menu.c
> @@ -414,9 +414,10 @@ void menu_finalize(struct menu *parent)
> menu_finalize(menu);
> } else if (sym) {
> /*
> - * Automatic submenu creation. If sym, A, B, C, ..., are
> - * consecutive symbols and A, B, C, ... all depend on sym, the
> - * following menu structure will be created:
> + * Automatic submenu creation. If sym is a symbol and A, B, C,
> + * ... are consecutive items (symbols, menus, ifs, etc.) that
> + * all depend on sym, then the following menu structure is
> + * created:
> *
> * sym
> * +-A
> @@ -425,7 +426,7 @@ void menu_finalize(struct menu *parent)
> * ...
> *
> * This also works recursively, giving the following structure
> - * if B depends on A:
> + * if A is a symbol and B depends on A:
> *
> * sym
> * +-A
> --
> 2.14.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
I squashed this into the previous patch:
https://patchwork.kernel.org/patch/9991939/
Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists