Compiling a kernel

From FreekiWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Syllabus

Version

  • 2.4
  • 2.6
  • 2.2
  • patches

Where to get the source

Configuration

  • make mrproper
  • make config/menuconfig/xconfig
  • builtin vs module

Points of interest

  • drivers
  • processor
  • filesystems
  • networking
  • &c.

Compiling

  • (2.4) make dep && make bzImage modules modules_install
  • (2.6) make && make modules_install
  • kpackage (debian)

Installing

  • bzImage
  • System.map
  • /boot
  • modules

Prerequisites

  • ass
  • core
  • coders
  • adv. builder
  • build instructor

Further reading

Time estimate

  • 1 hour 20 minutes
  • version: 15 minutes
  • where: 10 minutes
  • config: 25 minutes
  • compiling: 15 minutes
  • installing: 15 minutes