]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Revert "kconfig-language: add to hints"
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 12 Nov 2012 21:09:18 +0000 (22:09 +0100)
committerMichal Marek <mmarek@suse.cz>
Thu, 6 Dec 2012 10:34:55 +0000 (11:34 +0100)
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>
Documentation/kbuild/kconfig-language.txt

index a686f9cd69c11797f85bea64333b30a33c97e612..c858f8419ebafeeb7d700be52c919d6ee0770201 100644 (file)
@@ -388,26 +388,3 @@ config FOO
        depends on BAR && m
 
 limits FOO to module (=m) or disabled (=n).
-
-Kconfig symbol existence
-~~~~~~~~~~~~~~~~~~~~~~~~
-The following two methods produce the same kconfig symbol dependencies
-but differ greatly in kconfig symbol existence (production) in the
-generated config file.
-
-case 1:
-
-config FOO
-       tristate "about foo"
-       depends on BAR
-
-vs. case 2:
-
-if BAR
-config FOO
-       tristate "about foo"
-endif
-
-In case 1, the symbol FOO will always exist in the config file (given
-no other dependencies).  In case 2, the symbol FOO will only exist in
-the config file if BAR is enabled.