diff options
Diffstat (limited to 'misc/tools/kconfig-frontends/docs/kconfig-language.txt')
-rw-r--r-- | misc/tools/kconfig-frontends/docs/kconfig-language.txt | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/misc/tools/kconfig-frontends/docs/kconfig-language.txt b/misc/tools/kconfig-frontends/docs/kconfig-language.txt index a686f9cd6..c420676c6 100644 --- a/misc/tools/kconfig-frontends/docs/kconfig-language.txt +++ b/misc/tools/kconfig-frontends/docs/kconfig-language.txt @@ -147,6 +147,7 @@ applicable everywhere (see syntax). - "modules" This declares the symbol to be used as the MODULES symbol, which enables the third modular state for all config symbols. + At most one symbol may have the "modules" option set. - "env"=<value> This imports the environment variable into Kconfig. It behaves like @@ -388,26 +389,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. |