Debian Codegraph @

debian/kconfig-merge.1.md

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