KCONFIG-MERGE(1)
โจ kconfig-merge โจ โ the manual page, but make it a group chat
okay so bestie, welcome to kconfig-merge(1) ๐ this is the standalone implementation of the Linux Kconfig parser, and yes she's iconic. The vibe here is the kconfig toolkit supporting the Kconfig language, implementing the parser and the configuration support that comes with your KConfig files โ all while respecting the Linux kernel KConfig convention. periodt. ๐
๐ธ SYNOPSIS ๐ธ
kconfig-merge [options] <KConfig_file>
That's it. That's the whole entrance. <KConfig_file> is your main character, [options] is her entourage. ๐
๐ฆ DESCRIPTION ๐ฆ
So the kconfig toolkit is out here supporting the Kconfig language, and it implements the parser plus the configuration support that goes with your KConfig files, all respecting the Linux kernel KConfig convention. no cap. ๐
At configuration time, we've got a whole little clique:
kconfig-mconfโ based on ncurses (menuconfig). the classic. ๐kconfig-confโ based on dialog (config). โจkconfig-gconfโ based on GTK+ (gconfig). she's got a GUI, she's fancy. ๐
Associated tools:
kconfig-diffโ displays symbols diff between.configfiles. the way she compares thingsโฆ obsessed. ๐ฅ
๐ OPTIONS ๐
--silentoldconfigโ only forkconfig-conf. reloads a given.configand regenerates the header and command files accordingly. lowkey a glow-up for your config. ๐--allnoconfigโ set all boolean configuration to no. nope nope nope, everyone's a no. ๐--allyesconfigโ set all boolean configuration to yes. yes yes yes, everyone's a yes, we're all saying yes. ๐--randconfigโ generates a random configuration. chaos config, as a treat. ๐ฒโจ
๐ ENVIRONMENT ๐
๐ Environment variables for '*config'
KCONFIG_CONFIGโ you can use this env var to specify a default kernel config file name, overriding the default name of".config". name your own config bestie, you're free. ๐ฆKCONFIG_OVERWRITECONFIGโ if you setKCONFIG_OVERWRITECONFIGin the environment, Kconfig will not break symlinks when.configis a symlink to somewhere else. she respects the link. ๐ซถ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_". rebranding era. ๐
๐ธ 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. โจ it's giving build-from-subset, it's giving efficiency.
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 get cute, the deps still check you. ๐
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. so: mostly off, except the ones you literally wrote down. ๐
๐ง 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. deterministic chaos, bestie. ๐ฎ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, Man page originally compiled by Philippe Thierry (phil at reseau-libre dot com). we stan a documented original. ๐ซถ
and that's the whole page, bestie โ written by Philippe Thierry for the kconfig-merge Man Page, from way back in October 2017. iykyk. go merge some configs. ๐ โจ๐
๐ฆ 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