diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2012-11-12 16:09:18 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-12-06 05:34:55 -0500 |
commit | 169dfd880ad3f301f60587b2e6145afd3edbbd59 (patch) | |
tree | 51e9926283eef4a2deaf96a91747adf52cba4f97 /Documentation/kbuild | |
parent | 527ffe5811e39f9997a08902628c35068a46a5b7 (diff) |
Revert "kconfig-language: add to hints"
This reverts commit 64b81ed7fb1e45c914317b20316f32827bc6444b.
As Martin says about this paragraph:
However, I can not reproduce this. The attached file contains both
cases. [...] AFAICS, both versions behave equivalently. I suggest
changing the documentation accordingly.
[in http://marc.info/?l=linux-kbuild&m=134987006202410&w=2]
Reported-by: Martin Walch <walch.martin@gmx.de>
Cc: Martin Walch <walch.martin@gmx.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Documentation/kbuild')
-rw-r--r-- | Documentation/kbuild/kconfig-language.txt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt index a686f9cd69c1..c858f8419eba 100644 --- a/Documentation/kbuild/kconfig-language.txt +++ b/Documentation/kbuild/kconfig-language.txt | |||
@@ -388,26 +388,3 @@ config FOO | |||
388 | depends on BAR && m | 388 | depends on BAR && m |
389 | 389 | ||
390 | limits FOO to module (=m) or disabled (=n). | 390 | limits FOO to module (=m) or disabled (=n). |
391 | |||
392 | Kconfig symbol existence | ||
393 | ~~~~~~~~~~~~~~~~~~~~~~~~ | ||
394 | The following two methods produce the same kconfig symbol dependencies | ||
395 | but differ greatly in kconfig symbol existence (production) in the | ||
396 | generated config file. | ||
397 | |||
398 | case 1: | ||
399 | |||
400 | config FOO | ||
401 | tristate "about foo" | ||
402 | depends on BAR | ||
403 | |||
404 | vs. case 2: | ||
405 | |||
406 | if BAR | ||
407 | config FOO | ||
408 | tristate "about foo" | ||
409 | endif | ||
410 | |||
411 | In case 1, the symbol FOO will always exist in the config file (given | ||
412 | no other dependencies). In case 2, the symbol FOO will only exist in | ||
413 | the config file if BAR is enabled. | ||