10.5.2. Contents of Linux-Headers
Installed headers:
/usr/include/{asm,asm-generic,linux,mtd,rdma,scsi,sound,video}/*.h
The Linux Kernel contains a make target that installs “sanitized” kernel 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