* [PATCH] Documentation/kbuild: add info that 'choice' can have a symbol name
@ 2010-12-15 23:19 Yann E. MORIN
2010-12-18 23:00 ` Yann E. MORIN
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2010-12-15 23:19 UTC (permalink / raw)
To: linux-kbuild; +Cc: Roman Zippel, Arnaud Lacombe
Changeset 5a1aa8a1 added the possibility to name a choice,
and to have the same choice be defined multiple times.
But the documentation was forgotten, so this updates it accordingly.
Thanks to Arnaud Lacombe for pointing it to me in the first place:
http://www.spinics.net/lists/linux-kbuild/msg03940.html
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Arnaud Lacombe <lacombar@gmail.com>
---
Documentation/kbuild/kconfig-language.txt | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt
index 2fe93ca..a4bbaaf 100644
--- a/Documentation/kbuild/kconfig-language.txt
+++ b/Documentation/kbuild/kconfig-language.txt
@@ -268,7 +268,7 @@ separate list of options.
choices:
- "choice"
+ "choice" [symbol]
<choice options>
<choice block>
"endchoice"
@@ -282,6 +282,10 @@ single driver can be compiled/loaded into the kernel, but all drivers
can be compiled as modules.
A choice accepts another option "optional", which allows to set the
choice to 'n' and no entry needs to be selected.
+If no [symbol] is associated with a choice, then you can not have multiple
+definitions of that choice. If a [symbol] is associated to the choice,
+then you may define the same choice (ie. with the same entries) in another
+place.
comment:
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation/kbuild: add info that 'choice' can have a symbol name
2010-12-15 23:19 [PATCH] Documentation/kbuild: add info that 'choice' can have a symbol name Yann E. MORIN
@ 2010-12-18 23:00 ` Yann E. MORIN
2010-12-21 17:19 ` Michal Marek
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2010-12-18 23:00 UTC (permalink / raw)
To: linux-kbuild; +Cc: Roman Zippel, Arnaud Lacombe
On Thursday 16 December 2010 00:19:00 Yann E. MORIN wrote:
> Changeset 5a1aa8a1 added the possibility to name a choice,
> and to have the same choice be defined multiple times.
> But the documentation was forgotten, so this updates it accordingly.
Ping? Any comment?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation/kbuild: add info that 'choice' can have a symbol name
2010-12-18 23:00 ` Yann E. MORIN
@ 2010-12-21 17:19 ` Michal Marek
0 siblings, 0 replies; 3+ messages in thread
From: Michal Marek @ 2010-12-21 17:19 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: linux-kbuild, Roman Zippel, Arnaud Lacombe
On Sun, Dec 19, 2010 at 12:00:14AM +0100, Yann E. MORIN wrote:
> On Thursday 16 December 2010 00:19:00 Yann E. MORIN wrote:
> > Changeset 5a1aa8a1 added the possibility to name a choice,
> > and to have the same choice be defined multiple times.
> > But the documentation was forgotten, so this updates it accordingly.
>
> Ping? Any comment?
Applied to kbuild-2.6.git#misc, thanks for your patience.
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-21 17:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-15 23:19 [PATCH] Documentation/kbuild: add info that 'choice' can have a symbol name Yann E. MORIN
2010-12-18 23:00 ` Yann E. MORIN
2010-12-21 17:19 ` Michal Marek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.