KCONFIG-MCONF(1)
π KCONFIG-MCONF(1) π
okay bestie, welcome to the kconfig-mconf manual page, October 2017 edition β yes she's a little vintage but she SERVES β¨
β¨ NAME β¨
kconfig-monf β a standalone implementation of the Linux Kconfig parser π«Ά
π SYNOPSIS π
kconfig-mconf [options] <KConfig_file>
πΈ DESCRIPTION πΈ
So the kconfig toolkit supports the Kconfig language and implements the parser plus the configuration support that goes with your KConfig files β and she respects the Linux kernel KConfig convention, no cap. π
At configuration time, here's the lineup:
kconfig-mconfis based on ncurses (menuconfig) πkconfig-confis based on dialog (config) π¦kconfig-gconfis based on GTK+ (gconfig) π
Associated tools:
kconfig-diffdisplays symbols diff between.configfiles π₯
π OPTIONS π
--silentoldconfigβ Only forkconfig-conf. Reloads a given.configand regenerates the header and command files accordingly. lowkey a glow-up for your config files β¨--allnoconfigβ Set all boolean configuration to no. it's giving "no thank you" energy π--allyesconfigβ Set all boolean configuration to yes. main character says YES to everything π--randconfigβ Generates a random configuration. chaos config, we love her π
π§ ENVIRONMENT π§
Environment variables for '*config'
KCONFIG_CONFIGβ You can use this environment variable to specify a default kernel config file name, overriding the default name of".config". so iconic of her πKCONFIG_OVERWRITECONFIGβ If you setKCONFIG_OVERWRITECONFIGin the environment, Kconfig will not break symlinks when.configis a symlink to somewhere else. protect the symlink bestie π«ΆCONFIG_β If you setCONFIG_in the environment, Kconfig will prefix all symbols with its value when saving the configuration, instead of using the default,"CONFIG_". custom prefix, custom vibe πΈ
Environment variables for '{allyes/allmod/allno/rand}config'
KCONFIG_ALLCONFIGβ Theallyesconfig/allmodconfig/allnoconfig/randconfigvariants can also use the environment variableKCONFIG_ALLCONFIGas 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. literally a whole full-size config grown from a mini one π±
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. β οΈ so don't think you can just force whatever, the dependency checks said not today bestie
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. π
Environment variables for 'randconfig'
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. reproducible chaos, iconic βKCONFIG_PROBABILITYβ This variable can be used to skew the probabilities. See/usr/share/doc/kconfig-frontends/kconfig.txt.gz. π
Environment variables for 'silentoldconfig'
KCONFIG_NOSILENTUPDATEβ If this variable has a non-blank value, it prevents silent kernel config updates (requires explicit updates). she said no sneaky updates π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". ποΈKCONFIG_TRISTATEβ This environment variable can be set to specify the path name of the"tristate.conf"file. Its default value is"include/config/tristate.conf". ποΈ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". ποΈ
π¦ HISTORY π¦
June 2017, this man page was originally compiled by Philippe Thierry (phil at reseau-libre dot com). thank you for your service king π«‘
and that's the whole page bestie!! π thiskconfig-mconfman page, from thekconfig-mconf Man Pagesource, dated October 2017, was brought to you by Philippe Thierry. no cap, go configure something iconic β¨π π
π¦ where this page comes from
- debian bookworm: kconfig-frontends 4.11.0.1+dfsg-6 Β· GPL-2.0-only
- debian bookworm: kconfig-frontends-nox 4.11.0.1+dfsg-6 Β· GPL-2.0-only
- debian trixie: kconfig-frontends 4.11.0.1+dfsg-6+b1 Β· GPL-2.0-only
- debian trixie: kconfig-frontends-nox 4.11.0.1+dfsg-6+b1 Β· GPL-2.0-only
- ubuntu jammy: kconfig-frontends 4.11.0.1+dfsg-6 Β· GPL-2.0-only
- ubuntu jammy: kconfig-frontends-nox 4.11.0.1+dfsg-6 Β· GPL-2.0-only
- ubuntu noble: kconfig-frontends 4.11.0.1+dfsg-6build2 Β· GPL-2.0-only
- ubuntu noble: kconfig-frontends-nox 4.11.0.1+dfsg-6build2 Β· GPL-2.0-only
- ubuntu questing: kconfig-frontends 4.11.0.1+dfsg-6build2
- ubuntu questing: kconfig-frontends-nox 4.11.0.1+dfsg-6build2
- ubuntu resolute: kconfig-frontends 4.11.0.1+dfsg-6build3 Β· GPL-2.0-only
- ubuntu resolute: kconfig-frontends-nox 4.11.0.1+dfsg-6build3 Β· GPL-2.0-only
- ubuntu stonking: kconfig-frontends 4.11.0.1+dfsg-6build3 Β· GPL-2.0-only
- ubuntu stonking: kconfig-frontends-nox 4.11.0.1+dfsg-6build3 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms