10.5. Linux-Headers-2.6.24.7

The Linux Kernel contains a make target that installs “sanitized” kernel headers.

10.5.1. Installation of Linux-Headers

For this step you will need the kernel tarballs.

The following patch includes spitfire.h outside of kernel space in elf.h. It also adds spitfire.h to the list of headers installed on the system.

patch -Np1 -i ../linux-2.6.24.7-elf_spitfire_fix-1.patch

Install the header files that are common to all architectures:

make mrproper
make headers_check
make INSTALL_HDR_PATH=dest headers_install
cp -rv dest/include/* /usr/include

10.5.2. Contents of Linux-Headers

Installed headers: /usr/include/{asm,asm-generic,linux,mtd,rdma,scsi,sound,video}/*.h

Short Descriptions

/usr/include/{asm,asm-generic,linux,mtd,rdma,scsi,sound,video}/*.h

The Linux API headers