include/config/auto.conf
is a generated file which stores the config values («Kernel configuration») that were used to compile the kernel. These values are typically configured in
.config
, but can be overridden with
make KCONFIG_CONFIG=…
.
Usage
The content of the file is used for build tools to determine which config options are currently enabled or disabled.
A list of files that use auto.conf
can be found with:
grep -rlF include/config/auto.conf
It turns out that in most cases, this file is
Content
The content of the file looks like so:
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.5.0-rc7 Kernel Configuration
#
CONFIG_RING_BUFFER=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SND_PROC_FS=y
CONFIG_SCSI_DMA=y
CONFIG_TCP_MD5SIG=y
CONFIG_KERNEL_GZIP=y
CONFIG_CC_HAS_SANCOV_TRACE_PC=y
CONFIG_ARCH_WANT_OPTIMIZE_VMEMMAP=y
…