diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 11:29:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 11:29:25 -0500 |
commit | e3166331a3288dd7184548896a1c7ab682f0dbe8 (patch) | |
tree | 2ec73946fd5ecbbb71954039a18aee829ed55b96 /Documentation/kbuild | |
parent | 1693ed284f14a288c29f7265f9d71103e4c10821 (diff) | |
parent | 0719e1d23aab3b445c823404fd1b8b027757bb0a (diff) |
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
Documentation/kbuild: add info that 'choice' can have a symbol name
kbuild: add numeric --set-val option to scripts/config
headers_check: Fix warning text
headers_check: better search for functions in headers
scripts/coccinelle: update for compatability with Coccinelle 0.2.4
tags: put function prototypes back!
Kconfig: fix single letter command in scripts/config
gitignore: add scripts/recordmcount
Diffstat (limited to 'Documentation/kbuild')
-rw-r--r-- | 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 5b9b1be6fde2..b507d61fd41c 100644 --- a/Documentation/kbuild/kconfig-language.txt +++ b/Documentation/kbuild/kconfig-language.txt | |||
@@ -267,7 +267,7 @@ separate list of options. | |||
267 | 267 | ||
268 | choices: | 268 | choices: |
269 | 269 | ||
270 | "choice" | 270 | "choice" [symbol] |
271 | <choice options> | 271 | <choice options> |
272 | <choice block> | 272 | <choice block> |
273 | "endchoice" | 273 | "endchoice" |
@@ -281,6 +281,10 @@ single driver can be compiled/loaded into the kernel, but all drivers | |||
281 | can be compiled as modules. | 281 | can be compiled as modules. |
282 | A choice accepts another option "optional", which allows to set the | 282 | A choice accepts another option "optional", which allows to set the |
283 | choice to 'n' and no entry needs to be selected. | 283 | choice to 'n' and no entry needs to be selected. |
284 | If no [symbol] is associated with a choice, then you can not have multiple | ||
285 | definitions of that choice. If a [symbol] is associated to the choice, | ||
286 | then you may define the same choice (ie. with the same entries) in another | ||
287 | place. | ||
284 | 288 | ||
285 | comment: | 289 | comment: |
286 | 290 | ||