Linux Kernel 01 - Kernel Configuration Overview
# Make Config Rules
With current Linux (since 3.17-rc1 and newer, make tinyconfig will produce a minimal kernel. You can then turn on the minimal set of options you need.
defconfig is an abbreviation for 'default configuration', which refers to a series of configurations for different architectures, e.g.
defconfig is really suitable for simulation : it is well-tested for QEMU, and is much smaller than the configuration of distributions. However, real hardwares and the distributions will likely not work properly with
defconfig , because
defconfig lacks driver support for some essential piece of hardware, and it lacks features that several packages of the distribution might rely on.
# Configuration of Distributions
You can get the kernel configuration of your native distribution as follows :
cp /boot/config-$(uname -r) .config make menuconfig make -j4
# Kernel Configurations Overview
StackExchange - Compiling the kernel with default configurations (opens new window)
StackExchange - What exactly does Linux kernel's
make defconfigdo ? (opens new window)
LWN.net - Kernel configuration for distributions (opens new window)