Conceptual
Login

Choosing Kernel Features with Kconfig

A kernel is not one fixed program: it is thousands of optional features you switch on or off before building. Those choices live in a file called .config, which you can generate from a sensible default or edit through a menu interface. The configuration decides which drivers, debugging tools and language support end up in your kernel. Build with the wrong configuration and the feature you were counting on simply is not there.

Questions this Concept answers

  • Why can two kernels built from exactly the same source tree behave completely differently?