Skip to content

Commit 169dfd8

Browse files
yann-morin-1998michal42
authored andcommitted
Revert "kconfig-language: add to hints"
This reverts commit 64b81ed. 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>
1 parent 527ffe5 commit 169dfd8

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

‎Documentation/kbuild/kconfig-language.txt‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -388,26 +388,3 @@ config FOO
388388
depends on BAR && m
389389

390390
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.

0 commit comments

Comments
 (0)