Debian Codegraph @

debian/kconfig.1

raw
1 .TH "KCONFIG" "1" " kconfig Man Page" "Philippe Thierry" "October 2017"
2 .nh
3 .ad l
4
5
6 .SH NAME
7 .PP
8 kconfig \- Standalone implementation of the Linux Kconfig parser
9
10
11 .SH SYNOPSIS
12 .PP
13 \fBkconfig [options] <KConfig_file>\fP
14
15
16 .SH DESCRIPTION
17 .PP
18 The kconfig toolkit support the Kconfig language and implement
19 the parser and the configuration support associated to the KConfig
20 files respecting the Linux kernel KConfig convention.
21
22 .PP
23 At configuration time:
24 .IP \(bu 2
25 kconfig\-mconf is based on ncurses (menuconfig)
26 .IP \(bu 2
27 kconfig\-conf is based on dialog (config)
28 .IP \(bu 2
29 kconfig\-gconf is based on GTK+ (gconfig)
30
31 .PP
32 Associated tools:
33 .IP \(bu 2
34 kconfig\-diff displays symbols diff between .config files
35
36
37 .SH OPTIONS
38 .PP
39 \fB\-\-silentoldconfig\fP
40 Only for kconfig\-conf, reload a given .config and regenerate
41 header and command files accordingly.
42
43 .PP
44 \fB\-\-allnoconfig\fP
45 Set all boolean configuration to no.
46
47 .PP
48 \fB\-\-allyesconfig\fP
49 Set all boolean configuration to yes.
50
51 .PP
52 \fB\-\-randconfig\fP
53 Generates a random configuration.
54
55
56 .SH ENVIRONMENT
57 .SH Environment variables for '*config'
58 .PP
59 \fBKCONFIG\_CONFIG\fP
60
61 .PP
62 This environment variable can be used to specify a default kernel config
63 file name to override the default name of ".config".
64
65 .PP
66 \fBKCONFIG\_OVERWRITECONFIG\fP
67
68 .PP
69 If you set KCONFIG\_OVERWRITECONFIG in the environment, Kconfig will not
70 break symlinks when .config is a symlink to somewhere else.
71
72 .PP
73 \fBCONFIG\_\fP
74
75 .PP
76 If you set CONFIG\_ in the environment, Kconfig will prefix all symbols
77 with its value when saving the configuration, instead of using the default,
78 "CONFIG\_".
79
80 .SH Environment variables for '{allyes/allmod/allno/rand}config'
81 .PP
82 \fBKCONFIG\_ALLCONFIG\fP
83
84 .PP
85 The allyesconfig/allmodconfig/allnoconfig/randconfig variants can also
86 use the environment variable KCONFIG\_ALLCONFIG as a flag or a filename
87 that contains config symbols that the user requires to be set to a
88 specific value. If KCONFIG\_ALLCONFIG is used without a filename where
89 KCONFIG\_ALLCONFIG == "" or KCONFIG\_ALLCONFIG == "1", "make *config"
90 checks for a file named "all{yes/mod/no/def/random}.config"
91 (corresponding to the *config command that was used) for symbol values
92 that are to be forced. If this file is not found, it checks for a
93 file named "all.config" to contain forced values.
94
95 .PP
96 This enables you to create "miniature" config (miniconfig) or custom
97 config files containing just the config symbols that you are interested
98 in. Then the kernel config system generates the full .config file,
99 including symbols of your miniconfig file.
100
101 .PP
102 This 'KCONFIG\_ALLCONFIG' file is a config file which contains
103 (usually a subset of all) preset config symbols. These variable
104 settings are still subject to normal dependency checks.
105
106 .PP
107 Examples:
108 KCONFIG\_ALLCONFIG=custom\-notebook.config make allnoconfig
109 or
110 KCONFIG\_ALLCONFIG=mini.config make allnoconfig
111 or
112 make KCONFIG\_ALLCONFIG=mini.config allnoconfig
113
114 .PP
115 These examples will disable most options (allnoconfig) but enable or
116 disable the options that are explicitly listed in the specified
117 mini\-config files.
118
119 .SH Environment variables for 'randconfig'
120 .PP
121 \fBKCONFIG\_SEED\fP
122
123 .PP
124 You can set this to the integer value used to seed the RNG, if you want
125 to somehow debug the behaviour of the kconfig parser/frontends.
126 If not set, the current time will be used.
127
128 .PP
129 \fBKCONFIG\_PROBABILITY\fP
130
131 .PP
132 This variable can be used to skew the probabilities.
133 See /usr/share/doc/kconfig\-frontends/kconfig.txt.gz.
134
135 .PP
136 Environment variables for 'silentoldconfig'
137
138 .PP
139 \fBKCONFIG\_NOSILENTUPDATE\fP
140
141 .PP
142 If this variable has a non\-blank value, it prevents silent kernel
143 config updates (requires explicit updates).
144
145 .PP
146 \fBKCONFIG\_AUTOCONFIG\fP
147
148 .PP
149 This environment variable can be set to specify the path \& name of the
150 "auto.conf" file. Its default value is "include/config/auto.conf".
151
152 .PP
153 \fBKCONFIG\_TRISTATE\fP
154
155 .PP
156 This environment variable can be set to specify the path \& name of the
157 "tristate.conf" file. Its default value is "include/config/tristate.conf".
158
159 .PP
160 \fBKCONFIG\_AUTOHEADER\fP
161
162 .PP
163 This environment variable can be set to specify the path \& name of the
164 "autoconf.h" (header) file.
165 Its default value is "include/generated/autoconf.h".
166
167
168 .SH HISTORY
169 .PP
170 June 2017, Man page originally compiled by Philippe Thierry (phil at reseau\-libre dot
171 com)