^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) ===================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Kconfig make config
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ===================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) This file contains some assistance for using `make *config`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Use "make help" to list all of the possible configuration targets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) The xconfig ('qconf'), menuconfig ('mconf'), and nconfig ('nconf')
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) programs also have embedded help text. Be sure to check that for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) navigation, search, and other general help text.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) General
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) -------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) New kernel releases often introduce new config symbols. Often more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) important, new kernel releases may rename config symbols. When
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) this happens, using a previously working .config file and running
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) "make oldconfig" won't necessarily produce a working new kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) for you, so you may find that you need to see what NEW kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) symbols have been introduced.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) To see a list of new config symbols, use::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) cp user/some/old.config .config
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) make listnewconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) and the config program will list any new symbols, one per line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Alternatively, you can use the brute force method::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) make oldconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) scripts/diffconfig .config.old .config | less
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Environment variables for `*config`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) KCONFIG_CONFIG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) This environment variable can be used to specify a default kernel config
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) file name to override the default name of ".config".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) KCONFIG_OVERWRITECONFIG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) -----------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) If you set KCONFIG_OVERWRITECONFIG in the environment, Kconfig will not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) break symlinks when .config is a symlink to somewhere else.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) `CONFIG_`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) ---------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) If you set `CONFIG_` in the environment, Kconfig will prefix all symbols
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) with its value when saving the configuration, instead of using the default,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) `CONFIG_`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Environment variables for '{allyes/allmod/allno/rand}config'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) KCONFIG_ALLCONFIG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) (partially based on lkml email from/by Rob Landley, re: miniconfig)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) --------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) The allyesconfig/allmodconfig/allnoconfig/randconfig variants can also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) use the environment variable KCONFIG_ALLCONFIG as a flag or a filename
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) that contains config symbols that the user requires to be set to a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) specific value. If KCONFIG_ALLCONFIG is used without a filename where
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) KCONFIG_ALLCONFIG == "" or KCONFIG_ALLCONFIG == "1", `make *config`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) checks for a file named "all{yes/mod/no/def/random}.config"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) (corresponding to the `*config` command that was used) for symbol values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) that are to be forced. If this file is not found, it checks for a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) file named "all.config" to contain forced values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) This enables you to create "miniature" config (miniconfig) or custom
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) config files containing just the config symbols that you are interested
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) in. Then the kernel config system generates the full .config file,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) including symbols of your miniconfig file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) This 'KCONFIG_ALLCONFIG' file is a config file which contains
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) (usually a subset of all) preset config symbols. These variable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) settings are still subject to normal dependency checks.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) Examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) KCONFIG_ALLCONFIG=custom-notebook.config make allnoconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) or::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) KCONFIG_ALLCONFIG=mini.config make allnoconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) or::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) make KCONFIG_ALLCONFIG=mini.config allnoconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) These examples will disable most options (allnoconfig) but enable or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) disable the options that are explicitly listed in the specified
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) mini-config files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) Environment variables for 'randconfig'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) KCONFIG_SEED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) ------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) You can set this to the integer value used to seed the RNG, if you want
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) to somehow debug the behaviour of the kconfig parser/frontends.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) If not set, the current time will be used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) KCONFIG_PROBABILITY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) -------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) This variable can be used to skew the probabilities. This variable can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) be unset or empty, or set to three different formats:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) ======================= ================== =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) KCONFIG_PROBABILITY y:n split y:m:n split
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) ======================= ================== =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) unset or empty 50 : 50 33 : 33 : 34
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) N N : 100-N N/2 : N/2 : 100-N
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) [1] N:M N+M : 100-(N+M) N : M : 100-(N+M)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) [2] N:M:L N : 100-N M : L : 100-(M+L)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) ======================= ================== =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) where N, M and L are integers (in base 10) in the range [0,100], and so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) that:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) [1] N+M is in the range [0,100]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) [2] M+L is in the range [0,100]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) Examples::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) KCONFIG_PROBABILITY=10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) 10% of booleans will be set to 'y', 90% to 'n'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) 5% of tristates will be set to 'y', 5% to 'm', 90% to 'n'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) KCONFIG_PROBABILITY=15:25
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) 40% of booleans will be set to 'y', 60% to 'n'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) 15% of tristates will be set to 'y', 25% to 'm', 60% to 'n'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) KCONFIG_PROBABILITY=10:15:15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) 10% of booleans will be set to 'y', 90% to 'n'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) 15% of tristates will be set to 'y', 15% to 'm', 70% to 'n'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) Environment variables for 'syncconfig'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) KCONFIG_NOSILENTUPDATE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) ----------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) If this variable has a non-blank value, it prevents silent kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) config updates (requires explicit updates).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) KCONFIG_AUTOCONFIG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) ------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) This environment variable can be set to specify the path & name of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) "auto.conf" file. Its default value is "include/config/auto.conf".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) KCONFIG_AUTOHEADER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) ------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) This environment variable can be set to specify the path & name of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) "autoconf.h" (header) file.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) Its default value is "include/generated/autoconf.h".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) menuconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) ----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) SEARCHING for CONFIG symbols
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) Searching in menuconfig:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) The Search function searches for kernel configuration symbol
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) names, so you have to know something close to what you are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) looking for.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) Example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) /hotplug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) This lists all config symbols that contain "hotplug",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) e.g., HOTPLUG_CPU, MEMORY_HOTPLUG.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) For search help, enter / followed by TAB-TAB (to highlight
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) <Help>) and Enter. This will tell you that you can also use
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) regular expressions (regexes) in the search string, so if you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) are not interested in MEMORY_HOTPLUG, you could try::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) /^hotplug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) When searching, symbols are sorted thus:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) - first, exact matches, sorted alphabetically (an exact match
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) is when the search matches the complete symbol name);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) - then, other matches, sorted alphabetically.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) For example: ^ATH.K matches:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) ATH5K ATH9K ATH5K_AHB ATH5K_DEBUG [...] ATH6KL ATH6KL_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) [...] ATH9K_AHB ATH9K_BTCOEX_SUPPORT ATH9K_COMMON [...]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) of which only ATH5K and ATH9K match exactly and so are sorted
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) first (and in alphabetical order), then come all other symbols,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) sorted in alphabetical order.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) User interface options for 'menuconfig'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) MENUCONFIG_COLOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) ----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) It is possible to select different color themes using the variable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) MENUCONFIG_COLOR. To select a theme use::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) make MENUCONFIG_COLOR=<theme> menuconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) Available themes are::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) - mono => selects colors suitable for monochrome displays
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) - blackbg => selects a color scheme with black background
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) - classic => theme with blue background. The classic look
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) - bluetitle => a LCD friendly version of classic. (default)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) MENUCONFIG_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) This mode shows all sub-menus in one large tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) Example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) make MENUCONFIG_MODE=single_menu menuconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) nconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) -------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) nconfig is an alternate text-based configurator. It lists function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) keys across the bottom of the terminal (window) that execute commands.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) You can also just use the corresponding numeric key to execute the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239) commands unless you are in a data entry window. E.g., instead of F6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) for Save, you can just press 6.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) Use F1 for Global help or F3 for the Short help menu.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) Searching in nconfig:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) You can search either in the menu entry "prompt" strings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) or in the configuration symbols.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) Use / to begin a search through the menu entries. This does
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) not support regular expressions. Use <Down> or <Up> for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) Next hit and Previous hit, respectively. Use <Esc> to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) terminate the search mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) F8 (SymSearch) searches the configuration symbols for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) given string or regular expression (regex).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) NCONFIG_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) ------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) This mode shows all sub-menus in one large tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) Example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) make NCONFIG_MODE=single_menu nconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) xconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) -------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) Searching in xconfig:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) The Search function searches for kernel configuration symbol
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) names, so you have to know something close to what you are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) looking for.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) Example::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) Ctrl-F hotplug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) or::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) Menu: File, Search, hotplug
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) lists all config symbol entries that contain "hotplug" in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) the symbol name. In this Search dialog, you may change the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) config setting for any of the entries that are not grayed out.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) You can also enter a different search string without having
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) to return to the main menu.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) ----------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) gconfig
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) -------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) Searching in gconfig:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) There is no search command in gconfig. However, gconfig does
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299) have several different viewing choices, modes, and options.