diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-07 10:58:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-07 10:58:05 -0400 |
commit | 685e56d2943bb8bf3b641d85b1b6c69d24f7965f (patch) | |
tree | 7f3ed2dbd080264ac228c913f528e08aa14a9c97 /Documentation | |
parent | 57c29bd3cdf1f82a7ba79ea227638b14f607247c (diff) | |
parent | 21ca352b71ca252e1933b1538fe89da8a04395c3 (diff) |
Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kconfig updates from Michal Marek:
- use pkg-config to detect curses libraries
- clean up the way curses headers are searched
- Some randconfig fixes, of which one had to be reverted
- KCONFIG_SEED for randconfig debugging
- memuconfig memory leak plugged
- menuconfig > breadcrumbs > navigation
- xconfig compilation fix
- Other minor fixes
* 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kconfig: fix lists definition for C++
Revert "kconfig: fix randomising choice entries in presence of KCONFIG_ALLCONFIG"
kconfig: implement KCONFIG_PROBABILITY for randconfig
kconfig: allow specifying the seed for randconfig
kconfig: fix randomising choice entries in presence of KCONFIG_ALLCONFIG
kconfig: do not override symbols already set
kconfig: fix randconfig tristate detection
kconfig/lxdialog: rationalise the include paths where to find {.n}curses{,w}.h
menuconfig: Add "breadcrumbs" navigation aid
menuconfig: Fix memory leak introduced by jump keys feature
merge_config.sh: Avoid creating unnessary source softlinks
kconfig: optionally use pkg-config to detect ncurses libs
menuconfig: optionally use pkg-config to detect ncurses libs
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kbuild/kconfig.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/kbuild/kconfig.txt b/Documentation/kbuild/kconfig.txt index b8b77bbc784f..3f429ed8b3b8 100644 --- a/Documentation/kbuild/kconfig.txt +++ b/Documentation/kbuild/kconfig.txt | |||
@@ -90,6 +90,42 @@ disable the options that are explicitly listed in the specified | |||
90 | mini-config files. | 90 | mini-config files. |
91 | 91 | ||
92 | ______________________________________________________________________ | 92 | ______________________________________________________________________ |
93 | Environment variables for 'randconfig' | ||
94 | |||
95 | KCONFIG_SEED | ||
96 | -------------------------------------------------- | ||
97 | You can set this to the integer value used to seed the RNG, if you want | ||
98 | to somehow debug the behaviour of the kconfig parser/frontends. | ||
99 | If not set, the current time will be used. | ||
100 | |||
101 | KCONFIG_PROBABILITY | ||
102 | -------------------------------------------------- | ||
103 | This variable can be used to skew the probabilities. This variable can | ||
104 | be unset or empty, or set to three different formats: | ||
105 | KCONFIG_PROBABILITY y:n split y:m:n split | ||
106 | ----------------------------------------------------------------- | ||
107 | unset or empty 50 : 50 33 : 33 : 34 | ||
108 | N N : 100-N N/2 : N/2 : 100-N | ||
109 | [1] N:M N+M : 100-(N+M) N : M : 100-(N+M) | ||
110 | [2] N:M:L N : 100-N M : L : 100-(M+L) | ||
111 | |||
112 | where N, M and L are integers (in base 10) in the range [0,100], and so | ||
113 | that: | ||
114 | [1] N+M is in the range [0,100] | ||
115 | [2] M+L is in the range [0,100] | ||
116 | |||
117 | Examples: | ||
118 | KCONFIG_PROBABILITY=10 | ||
119 | 10% of booleans will be set to 'y', 90% to 'n' | ||
120 | 5% of tristates will be set to 'y', 5% to 'm', 90% to 'n' | ||
121 | KCONFIG_PROBABILITY=15:25 | ||
122 | 40% of booleans will be set to 'y', 60% to 'n' | ||
123 | 15% of tristates will be set to 'y', 25% to 'm', 60% to 'n' | ||
124 | KCONFIG_PROBABILITY=10:15:15 | ||
125 | 10% of booleans will be set to 'y', 90% to 'n' | ||
126 | 15% of tristates will be set to 'y', 15% to 'm', 70% to 'n' | ||
127 | |||
128 | ______________________________________________________________________ | ||
93 | Environment variables for 'silentoldconfig' | 129 | Environment variables for 'silentoldconfig' |
94 | 130 | ||
95 | KCONFIG_NOSILENTUPDATE | 131 | KCONFIG_NOSILENTUPDATE |