meta data for this page
  •  

env variables

kconfig doc

kconfig tool conf is also controlled by env variables:

Output files generation:

  • KCONFIG_CONFIG - override default .config
  • KCONFIG_AUTOCONFIG - overrides default include/config/auto.conf
  • KCONFIG_AUTOHEADER - overrides default include/generated/autoconf.h
  • KCONFIG_RUSTCCFG - - overrides default include/generated/rustc_cfg

Other:

  • KCONFIG_ALLCONFIG
  • KCONFIG_OVERWRITECONFIG - in place overwrite of .config to work with symlinks. Tmpfile and rename is used otherwise.
  • KCONFIG_DEFCONFIG_LIST - if defconfig not specified, use list of files to combine it
  • KCONFIG_NOSILENTUPDATE
  • KCONFIG_SEED
  • KCONFIG_PROBABILITY
  • SRCTREE - when specified try to find files also in SRCTREE:
    • First trying to open exact file name: ./<filename>
    • Then trying to open ${SRCTREE}/<filename>
  • CONFIG_ - override default config prefix CONFIG_
  • MENUCONFIG_MODE
  • NCONFIG_MODE
  • ZCONF_DEBUG
  • MENUCONFIG_COLOR