]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - Documentation/kbuild/kconfig-language.txt
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
[karo-tx-linux.git] / Documentation / kbuild / kconfig-language.txt
index 5b9b1be6fde2023d9c9f7609b6dd1f21adaf88d2..b507d61fd41cd6a20157dca27f38a28b98f4fa1d 100644 (file)
@@ -267,7 +267,7 @@ separate list of options.
 
 choices:
 
-       "choice"
+       "choice" [symbol]
        <choice options>
        <choice block>
        "endchoice"
@@ -281,6 +281,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: