lsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget"/translations/zh_CN/kbuild/kconfigmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/zh_TW/kbuild/kconfigmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/it_IT/kbuild/kconfigmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/ja_JP/kbuild/kconfigmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/ko_KR/kbuild/kconfigmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/sp_SP/kbuild/kconfigmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h!Configuration targets and editorsh]h!Configuration targets and editors}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhThis file contains some assistance for using ``make *config``.h](h-This file contains some assistance for using }(hhhhhNhNubhliteral)}(h``make *config``h]h make *config}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubh.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hDUse ``make help`` to list all of the possible configuration targets.h](hUse }(hhhhhNhNubh)}(h ``make help``h]h make help}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubh3 to list all of the possible configuration targets.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hThe xconfig ('qconf'), menuconfig ('mconf'), and nconfig ('nconf') programs also have embedded help text. Be sure to check that for navigation, search, and other general help text.h]hThe xconfig (‘qconf’), menuconfig (‘mconf’), and nconfig (‘nconf’) programs also have embedded help text. Be sure to check that for navigation, search, and other general help text.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(h4The gconfig ('gconf') program has limited help text.h]h8The gconfig (‘gconf’) program has limited help text.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hhh](h)}(hGeneralh]hGeneral}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hXaNew kernel releases often introduce new config symbols. Often more important, new kernel releases may rename config symbols. When this happens, using a previously working .config file and running "make oldconfig" won't necessarily produce a working new kernel for you, so you may find that you need to see what NEW kernel symbols have been introduced.h]hXgNew kernel releases often introduce new config symbols. Often more important, new kernel releases may rename config symbols. When this happens, using a previously working .config file and running “make oldconfig” won’t necessarily produce a working new kernel for you, so you may find that you need to see what NEW kernel symbols have been introduced.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(h*To see a list of new config symbols, use::h]h)To see a list of new config symbols, use:}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh literal_block)}(h2cp user/some/old.config .config make listnewconfigh]h2cp user/some/old.config .config make listnewconfig}hjFsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1jDhhhKhjhhubh)}(h?and the config program will list any new symbols, one per line.h]h?and the config program will list any new symbols, one per line.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(h3Alternatively, you can use the brute force method::h]h2Alternatively, you can use the brute force method:}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjhhubjE)}(h``KCONFIG_WERROR`` If set, Kconfig treats warnings as errors. h](j)}(h``KCONFIG_WERROR``h]h)}(hjh]hKCONFIG_WERROR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jhhhK?hjubj)}(hhh]h)}(h*If set, Kconfig treats warnings as errors.h]h*If set, Kconfig treats warnings as errors.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhK?hjhhubj)}(h``CONFIG_`` If you set ``CONFIG_`` in the environment, Kconfig will prefix all symbols with its value when saving the configuration, instead of using the default, ``CONFIG_``. h](j)}(h ``CONFIG_``h]h)}(hjh]hCONFIG_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jhhhKDhjubj)}(hhh]h)}(hIf you set ``CONFIG_`` in the environment, Kconfig will prefix all symbols with its value when saving the configuration, instead of using the default, ``CONFIG_``.h](h If you set }(hjhhhNhNubh)}(h ``CONFIG_``h]hCONFIG_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh in the environment, Kconfig will prefix all symbols with its value when saving the configuration, instead of using the default, }(hjhhhNhNubh)}(h ``CONFIG_``h]hCONFIG_}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKDhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubh)}(h?Environment variables for ``{allyes/allmod/allno/rand}config``:h](hEnvironment variables for }(hj>hhhNhNubh)}(h$``{allyes/allmod/allno/rand}config``h]h {allyes/allmod/allno/rand}config}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>ubh:}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKFhjhhubj)}(hhh]j)}(hX``KCONFIG_ALLCONFIG`` The allyesconfig/allmodconfig/allnoconfig/randconfig variants can also use the environment variable KCONFIG_ALLCONFIG as a flag or a filename that contains config symbols that the user requires to be set to a specific value. If KCONFIG_ALLCONFIG is used without a filename where KCONFIG_ALLCONFIG == "" or KCONFIG_ALLCONFIG == "1", ``make *config`` checks for a file named "all{yes/mod/no/def/random}.config" (corresponding to the ``*config`` command that was used) for symbol values that are to be forced. If this file is not found, it checks for a file named "all.config" to contain forced values. This enables you to create "miniature" config (miniconfig) or custom config files containing just the config symbols that you are interested in. Then the kernel config system generates the full .config file, including symbols of your miniconfig file. This ``KCONFIG_ALLCONFIG`` file is a config file which contains (usually a subset of all) preset config symbols. These variable settings are still subject to normal dependency checks. Examples:: KCONFIG_ALLCONFIG=custom-notebook.config make allnoconfig or:: KCONFIG_ALLCONFIG=mini.config make allnoconfig or:: make KCONFIG_ALLCONFIG=mini.config allnoconfig These examples will disable most options (allnoconfig) but enable or disable the options that are explicitly listed in the specified mini-config files. h](j)}(h``KCONFIG_ALLCONFIG``h]h)}(hjgh]hKCONFIG_ALLCONFIG}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjeubah}(h]h ]h"]h$]h&]uh1jhhhKjhjaubj)}(hhh](h)}(hXYThe allyesconfig/allmodconfig/allnoconfig/randconfig variants can also use the environment variable KCONFIG_ALLCONFIG as a flag or a filename that contains config symbols that the user requires to be set to a specific value. If KCONFIG_ALLCONFIG is used without a filename where KCONFIG_ALLCONFIG == "" or KCONFIG_ALLCONFIG == "1", ``make *config`` checks for a file named "all{yes/mod/no/def/random}.config" (corresponding to the ``*config`` command that was used) for symbol values that are to be forced. If this file is not found, it checks for a file named "all.config" to contain forced values.h](hXUThe allyesconfig/allmodconfig/allnoconfig/randconfig variants can also use the environment variable KCONFIG_ALLCONFIG as a flag or a filename that contains config symbols that the user requires to be set to a specific value. If KCONFIG_ALLCONFIG is used without a filename where KCONFIG_ALLCONFIG == “” or KCONFIG_ALLCONFIG == “1”, }(hjhhhNhNubh)}(h``make *config``h]h make *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubhW checks for a file named “all{yes/mod/no/def/random}.config” (corresponding to the }(hjhhhNhNubh)}(h ``*config``h]h*config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh command that was used) for symbol values that are to be forced. If this file is not found, it checks for a file named “all.config” to contain forced values.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKIhj|ubh)}(hThis enables you to create "miniature" config (miniconfig) or custom config files containing just the config symbols that you are interested in. Then the kernel config system generates the full .config file, including symbols of your miniconfig file.h]hThis enables you to create “miniature” config (miniconfig) or custom config files containing just the config symbols that you are interested in. Then the kernel config system generates the full .config file, including symbols of your miniconfig file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKShj|ubh)}(hThis ``KCONFIG_ALLCONFIG`` file is a config file which contains (usually a subset of all) preset config symbols. These variable settings are still subject to normal dependency checks.h](hThis }(hjhhhNhNubh)}(h``KCONFIG_ALLCONFIG``h]hKCONFIG_ALLCONFIG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh file is a config file which contains (usually a subset of all) preset config symbols. These variable settings are still subject to normal dependency checks.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKXhj|ubh)}(h Examples::h]h Examples:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hj|ubjE)}(h9KCONFIG_ALLCONFIG=custom-notebook.config make allnoconfigh]h9KCONFIG_ALLCONFIG=custom-notebook.config make allnoconfig}hjsbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhK^hj|ubh)}(hor::h]hor:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK`hj|ubjE)}(h.KCONFIG_ALLCONFIG=mini.config make allnoconfigh]h.KCONFIG_ALLCONFIG=mini.config make allnoconfig}hj sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKbhj|ubh)}(hor::h]hor:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhj|ubjE)}(h.make KCONFIG_ALLCONFIG=mini.config allnoconfigh]h.make KCONFIG_ALLCONFIG=mini.config allnoconfig}hj%sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKfhj|ubh)}(hThese examples will disable most options (allnoconfig) but enable or disable the options that are explicitly listed in the specified mini-config files.h]hThese examples will disable most options (allnoconfig) but enable or disable the options that are explicitly listed in the specified mini-config files.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhj|ubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhhhKjhj^ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubh)}(h)Environment variables for ``randconfig``:h](hEnvironment variables for }(hjShhhNhNubh)}(h``randconfig``h]h randconfig}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjSubh:}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKlhjhhubj)}(hhh](j)}(h``KCONFIG_SEED`` You can set this to the integer value used to seed the RNG, if you want to somehow debug the behaviour of the kconfig parser/frontends. If not set, the current time will be used. h](j)}(h``KCONFIG_SEED``h]h)}(hj|h]h KCONFIG_SEED}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzubah}(h]h ]h"]h$]h&]uh1jhhhKqhjvubj)}(hhh]h)}(hYou can set this to the integer value used to seed the RNG, if you want to somehow debug the behaviour of the kconfig parser/frontends. If not set, the current time will be used.h]hYou can set this to the integer value used to seed the RNG, if you want to somehow debug the behaviour of the kconfig parser/frontends. If not set, the current time will be used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKohjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhhhKqhjsubj)}(hX``KCONFIG_PROBABILITY`` This variable can be used to skew the probabilities. This variable can be unset or empty, or set to three different formats: ======================= ================== ===================== KCONFIG_PROBABILITY y:n split y:m:n split ======================= ================== ===================== unset or empty 50 : 50 33 : 33 : 34 N N : 100-N N/2 : N/2 : 100-N [1] N:M N+M : 100-(N+M) N : M : 100-(N+M) [2] N:M:L N : 100-N M : L : 100-(M+L) ======================= ================== ===================== h](j)}(h``KCONFIG_PROBABILITY``h]h)}(hjh]hKCONFIG_PROBABILITY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jhhhK~hjubj)}(hhh](h)}(h|This variable can be used to skew the probabilities. This variable can be unset or empty, or set to three different formats:h]h|This variable can be used to skew the probabilities. This variable can be unset or empty, or set to three different formats:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubhthead)}(hhh]hrow)}(hhh](hentry)}(hhh]h)}(hKCONFIG_PROBABILITYh]hKCONFIG_PROBABILITY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h y:n splith]h y:n split}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h y:m:n splith]h y:m:n split}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhj>ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1j hjubah}(h]h ]h"]h$]h&]uh1jhjubhtbody)}(hhh](j )}(hhh](j)}(hhh]h)}(hunset or emptyh]hunset or empty}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjiubah}(h]h ]h"]h$]h&]uh1jhjfubj)}(hhh]h)}(h50 : 50h]h50 : 50}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjubah}(h]h ]h"]h$]h&]uh1jhjfubj)}(hhh]h)}(h33 : 33 : 34h]h33 : 33 : 34}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1j hjcubj )}(hhh](j)}(hhh]h)}(hNh]hN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h N : 100-Nh]h N : 100-N}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hN/2 : N/2 : 100-Nh]hN/2 : N/2 : 100-N}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j hjcubj )}(hhh](j)}(hhh]h)}(h[1] N:Mh]h[1] N:M}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK|hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hN+M : 100-(N+M)h]hN+M : 100-(N+M)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK|hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hN : M : 100-(N+M)h]hN : M : 100-(N+M)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK|hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j hjcubj )}(hhh](j)}(hhh]h)}(h [2] N:M:Lh]h [2] N:M:L}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjSubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]h)}(h N : 100-Nh]h N : 100-N}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjjubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]h)}(hM : L : 100-(M+L)h]hM : L : 100-(M+L)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1j hjcubeh}(h]h ]h"]h$]h&]uh1jahjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhK~hjshhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubh)}(hMwhere N, M and L are integers (in base 10) in the range [0,100], and so that:h]hMwhere N, M and L are integers (in base 10) in the range [0,100], and so that:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh block_quote)}(hA[1] N+M is in the range [0,100] [2] M+L is in the range [0,100] h](h)}(h[1] N+M is in the range [0,100]h]h[1] N+M is in the range [0,100]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(h[2] M+L is in the range [0,100]h]h[2] M+L is in the range [0,100]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubh)}(h Examples::h]h Examples:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubjE)}(hXKCONFIG_PROBABILITY=10 10% of booleans will be set to 'y', 90% to 'n' 5% of tristates will be set to 'y', 5% to 'm', 90% to 'n' KCONFIG_PROBABILITY=15:25 40% of booleans will be set to 'y', 60% to 'n' 15% of tristates will be set to 'y', 25% to 'm', 60% to 'n' KCONFIG_PROBABILITY=10:15:15 10% of booleans will be set to 'y', 90% to 'n' 15% of tristates will be set to 'y', 15% to 'm', 70% to 'n'h]hXKCONFIG_PROBABILITY=10 10% of booleans will be set to 'y', 90% to 'n' 5% of tristates will be set to 'y', 5% to 'm', 90% to 'n' KCONFIG_PROBABILITY=15:25 40% of booleans will be set to 'y', 60% to 'n' 15% of tristates will be set to 'y', 25% to 'm', 60% to 'n' KCONFIG_PROBABILITY=10:15:15 10% of booleans will be set to 'y', 90% to 'n' 15% of tristates will be set to 'y', 15% to 'm', 70% to 'n'}hjsbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKhjhhubh)}(h)Environment variables for ``syncconfig``:h](hEnvironment variables for }(hjhhhNhNubh)}(h``syncconfig``h]h syncconfig}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh](j)}(h``KCONFIG_NOSILENTUPDATE`` If this variable has a non-blank value, it prevents silent kernel config updates (requires explicit updates). h](j)}(h``KCONFIG_NOSILENTUPDATE``h]h)}(hj>h]hKCONFIG_NOSILENTUPDATE}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<ubah}(h]h ]h"]h$]h&]uh1jhhhKhj8ubj)}(hhh]h)}(hmIf this variable has a non-blank value, it prevents silent kernel config updates (requires explicit updates).h]hmIf this variable has a non-blank value, it prevents silent kernel config updates (requires explicit updates).}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjSubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj5ubj)}(h``KCONFIG_AUTOCONFIG`` This environment variable can be set to specify the path & name of the "auto.conf" file. Its default value is "include/config/auto.conf". h](j)}(h``KCONFIG_AUTOCONFIG``h]h)}(hjvh]hKCONFIG_AUTOCONFIG}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjtubah}(h]h ]h"]h$]h&]uh1jhhhKhjpubj)}(hhh]h)}(hThis environment variable can be set to specify the path & name of the "auto.conf" file. Its default value is "include/config/auto.conf".h]hThis environment variable can be set to specify the path & name of the “auto.conf” file. Its default value is “include/config/auto.conf”.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhhhKhj5hhubj)}(h``KCONFIG_AUTOHEADER`` This environment variable can be set to specify the path & name of the "autoconf.h" (header) file. Its default value is "include/generated/autoconf.h". h](j)}(h``KCONFIG_AUTOHEADER``h]h)}(hjh]hKCONFIG_AUTOHEADER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(hThis environment variable can be set to specify the path & name of the "autoconf.h" (header) file. Its default value is "include/generated/autoconf.h".h]hThis environment variable can be set to specify the path & name of the “autoconf.h” (header) file. Its default value is “include/generated/autoconf.h”.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhj5hhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]environment-variablesah ]h"]environment variablesah$]h&]uh1hhhhhhhhK(ubh)}(hhh](h)}(h menuconfigh]h menuconfig}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hSearching in menuconfig:h]hSearching in menuconfig:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hXThe Search function searches for kernel configuration symbol names, so you have to know something close to what you are looking for. Example:: /hotplug This lists all config symbols that contain "hotplug", e.g., HOTPLUG_CPU, MEMORY_HOTPLUG. For search help, enter / followed by TAB-TAB (to highlight ) and Enter. This will tell you that you can also use regular expressions (regexes) in the search string, so if you are not interested in MEMORY_HOTPLUG, you could try:: /^hotplug When searching, symbols are sorted thus: - first, exact matches, sorted alphabetically (an exact match is when the search matches the complete symbol name); - then, other matches, sorted alphabetically. For example, ^ATH.K matches: ATH5K ATH9K ATH5K_AHB ATH5K_DEBUG [...] ATH6KL ATH6KL_DEBUG [...] ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_COMMON [...] of which only ATH5K and ATH9K match exactly and so are sorted first (and in alphabetical order), then come all other symbols, sorted in alphabetical order. In this menu, pressing the key in the (#) prefix will jump directly to that location. You will be returned to the current search results after exiting this new menu. h](h)}(hThe Search function searches for kernel configuration symbol names, so you have to know something close to what you are looking for.h]hThe Search function searches for kernel configuration symbol names, so you have to know something close to what you are looking for.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(h Example::h]hExample:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjE)}(ha/hotplug This lists all config symbols that contain "hotplug", e.g., HOTPLUG_CPU, MEMORY_HOTPLUG.h]ha/hotplug This lists all config symbols that contain "hotplug", e.g., HOTPLUG_CPU, MEMORY_HOTPLUG.}hj-sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKhj ubh)}(hFor search help, enter / followed by TAB-TAB (to highlight ) and Enter. This will tell you that you can also use regular expressions (regexes) in the search string, so if you are not interested in MEMORY_HOTPLUG, you could try::h]hFor search help, enter / followed by TAB-TAB (to highlight ) and Enter. This will tell you that you can also use regular expressions (regexes) in the search string, so if you are not interested in MEMORY_HOTPLUG, you could try:}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjE)}(h /^hotplugh]h /^hotplug}hjIsbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKhj ubh)}(h(When searching, symbols are sorted thus:h]h(When searching, symbols are sorted thus:}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh bullet_list)}(hhh](h list_item)}(hqfirst, exact matches, sorted alphabetically (an exact match is when the search matches the complete symbol name);h]h)}(hqfirst, exact matches, sorted alphabetically (an exact match is when the search matches the complete symbol name);h]hqfirst, exact matches, sorted alphabetically (an exact match is when the search matches the complete symbol name);}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjlubah}(h]h ]h"]h$]h&]uh1jjhjgubjk)}(h,then, other matches, sorted alphabetically. h]h)}(h+then, other matches, sorted alphabetically.h]h+then, other matches, sorted alphabetically.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jjhjgubeh}(h]h ]h"]h$]h&]bullet-uh1jehhhKhj ubh)}(hFor example, ^ATH.K matches:h]hFor example, ^ATH.K matches:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubj)}(htATH5K ATH9K ATH5K_AHB ATH5K_DEBUG [...] ATH6KL ATH6KL_DEBUG [...] ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_COMMON [...] h]h)}(hsATH5K ATH9K ATH5K_AHB ATH5K_DEBUG [...] ATH6KL ATH6KL_DEBUG [...] ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_COMMON [...]h]hsATH5K ATH9K ATH5K_AHB ATH5K_DEBUG [...] ATH6KL ATH6KL_DEBUG [...] ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_COMMON [...]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhhhKhj ubh)}(hof which only ATH5K and ATH9K match exactly and so are sorted first (and in alphabetical order), then come all other symbols, sorted in alphabetical order.h]hof which only ATH5K and ATH9K match exactly and so are sorted first (and in alphabetical order), then come all other symbols, sorted in alphabetical order.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hIn this menu, pressing the key in the (#) prefix will jump directly to that location. You will be returned to the current search results after exiting this new menu.h]hIn this menu, pressing the key in the (#) prefix will jump directly to that location. You will be returned to the current search results after exiting this new menu.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubh)}(h(User interface options for 'menuconfig':h]h,User interface options for ‘menuconfig’:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh](j)}(hX``MENUCONFIG_COLOR`` It is possible to select different color themes using the variable MENUCONFIG_COLOR. To select a theme use:: make MENUCONFIG_COLOR= menuconfig Available themes are:: - mono => selects colors suitable for monochrome displays - blackbg => selects a color scheme with black background - classic => theme with blue background. The classic look - bluetitle => a LCD friendly version of classic. (default) h](j)}(h``MENUCONFIG_COLOR``h]h)}(hj h]hMENUCONFIG_COLOR}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh](h)}(hmIt is possible to select different color themes using the variable MENUCONFIG_COLOR. To select a theme use::h]hlIt is possible to select different color themes using the variable MENUCONFIG_COLOR. To select a theme use:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjE)}(h(make MENUCONFIG_COLOR= menuconfigh]h(make MENUCONFIG_COLOR= menuconfig}hj) sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKhj ubh)}(hAvailable themes are::h]hAvailable themes are:}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjE)}(h- mono => selects colors suitable for monochrome displays - blackbg => selects a color scheme with black background - classic => theme with blue background. The classic look - bluetitle => a LCD friendly version of classic. (default)h]h- mono => selects colors suitable for monochrome displays - blackbg => selects a color scheme with black background - classic => theme with blue background. The classic look - bluetitle => a LCD friendly version of classic. (default)}hjE sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(h``MENUCONFIG_MODE`` This mode shows all sub-menus in one large tree. Example:: make MENUCONFIG_MODE=single_menu menuconfig h](j)}(h``MENUCONFIG_MODE``h]h)}(hje h]hMENUCONFIG_MODE}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjc ubah}(h]h ]h"]h$]h&]uh1jhhhKhj_ ubj)}(hhh](h)}(h0This mode shows all sub-menus in one large tree.h]h0This mode shows all sub-menus in one large tree.}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjz ubh)}(h Example::h]hExample:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjz ubjE)}(h+make MENUCONFIG_MODE=single_menu menuconfigh]h+make MENUCONFIG_MODE=single_menu menuconfig}hj sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhKhjz ubeh}(h]h ]h"]h$]h&]uh1jhj_ ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] menuconfigah ]h"] menuconfigah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hnconfigh]hnconfig}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubh)}(hX2nconfig is an alternate text-based configurator. It lists function keys across the bottom of the terminal (window) that execute commands. You can also just use the corresponding numeric key to execute the commands unless you are in a data entry window. E.g., instead of F6 for Save, you can just press 6.h]hX2nconfig is an alternate text-based configurator. It lists function keys across the bottom of the terminal (window) that execute commands. You can also just use the corresponding numeric key to execute the commands unless you are in a data entry window. E.g., instead of F6 for Save, you can just press 6.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubh)}(h5Use F1 for Global help or F3 for the Short help menu.h]h5Use F1 for Global help or F3 for the Short help menu.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubh)}(hSearching in nconfig:h]hSearching in nconfig:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubj)}(hX5You can search either in the menu entry "prompt" strings or in the configuration symbols. Use / to begin a search through the menu entries. This does not support regular expressions. Use or for Next hit and Previous hit, respectively. Use to terminate the search mode. F8 (SymSearch) searches the configuration symbols for the given string or regular expression (regex). In the SymSearch, pressing the key in the (#) prefix will jump directly to that location. You will be returned to the current search results after exiting this new menu. h](h)}(hYYou can search either in the menu entry "prompt" strings or in the configuration symbols.h]h]You can search either in the menu entry “prompt” strings or in the configuration symbols.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hUse / to begin a search through the menu entries. This does not support regular expressions. Use or for Next hit and Previous hit, respectively. Use to terminate the search mode.h]hUse / to begin a search through the menu entries. This does not support regular expressions. Use or for Next hit and Previous hit, respectively. Use to terminate the search mode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(heF8 (SymSearch) searches the configuration symbols for the given string or regular expression (regex).h]heF8 (SymSearch) searches the configuration symbols for the given string or regular expression (regex).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hIn the SymSearch, pressing the key in the (#) prefix will jump directly to that location. You will be returned to the current search results after exiting this new menu.h]hIn the SymSearch, pressing the key in the (#) prefix will jump directly to that location. You will be returned to the current search results after exiting this new menu.}(hj* hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj hhubh)}(hEnvironment variables:h]hEnvironment variables:}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubj)}(hhh]j)}(hy``NCONFIG_MODE`` This mode shows all sub-menus in one large tree. Example:: make NCONFIG_MODE=single_menu nconfig h](j)}(h``NCONFIG_MODE``h]h)}(hjU h]h NCONFIG_MODE}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjS ubah}(h]h ]h"]h$]h&]uh1jhhhMhjO ubj)}(hhh](h)}(h0This mode shows all sub-menus in one large tree.h]h0This mode shows all sub-menus in one large tree.}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjj ubh)}(h Example::h]hExample:}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjj ubjE)}(h%make NCONFIG_MODE=single_menu nconfigh]h%make NCONFIG_MODE=single_menu nconfig}hj sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhMhjj ubeh}(h]h ]h"]h$]h&]uh1jhjO ubeh}(h]h ]h"]h$]h&]uh1jhhhMhjL ubah}(h]h ]h"]h$]h&]uh1jhj hhhhhNubeh}(h]nconfigah ]h"]nconfigah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hxconfigh]hxconfig}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhM ubh)}(hSearching in xconfig:h]hSearching in xconfig:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj hhubj)}(hXThe Search function searches for kernel configuration symbol names, so you have to know something close to what you are looking for. Example:: Ctrl-F hotplug or:: Menu: File, Search, hotplug lists all config symbol entries that contain "hotplug" in the symbol name. In this Search dialog, you may change the config setting for any of the entries that are not grayed out. You can also enter a different search string without having to return to the main menu. h](h)}(hThe Search function searches for kernel configuration symbol names, so you have to know something close to what you are looking for.h]hThe Search function searches for kernel configuration symbol names, so you have to know something close to what you are looking for.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubh)}(h Example::h]hExample:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubjE)}(hCtrl-F hotplugh]hCtrl-F hotplug}hj sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhMhj ubh)}(hor::h]hor:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubjE)}(hMenu: File, Search, hotplugh]hMenu: File, Search, hotplug}hj sbah}(h]h ]h"]h$]h&]jTjUuh1jDhhhMhj ubh)}(hX lists all config symbol entries that contain "hotplug" in the symbol name. In this Search dialog, you may change the config setting for any of the entries that are not grayed out. You can also enter a different search string without having to return to the main menu.h]hXlists all config symbol entries that contain “hotplug” in the symbol name. In this Search dialog, you may change the config setting for any of the entries that are not grayed out. You can also enter a different search string without having to return to the main menu.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubeh}(h]h ]h"]h$]h&]uh1jhhhMhj hhubeh}(h]xconfigah ]h"]xconfigah$]h&]uh1hhhhhhhhM ubh)}(hhh](h)}(hgconfigh]hgconfig}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6 hhhhhM"ubh)}(hSearching in gconfig:h]hSearching in gconfig:}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM$hj6 hhubj)}(hyThere is no search command in gconfig. However, gconfig does have several different viewing choices, modes, and options.h]h)}(hyThere is no search command in gconfig. However, gconfig does have several different viewing choices, modes, and options.h]hyThere is no search command in gconfig. However, gconfig does have several different viewing choices, modes, and options.}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM&hjU ubah}(h]h ]h"]h$]h&]uh1jhhhM&hj6 hhubeh}(h]gconfigah ]h"]gconfigah$]h&]uh1hhhhhhhhM"ubeh}(h]!configuration-targets-and-editorsah ]h"]!configuration targets and editorsah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jz jw jjjjj j j j j3 j0 jr jo u nametypes}(jz jjj j j3 jr uh}(jw hjjjjj jj j j0 j jo j6 u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.