5.5. Linux-Headers-2.6.24.7

Le noyau Linux contient une cible make qui installe des en-têtes du noyau “propres”.

5.5.1. Installation de Linux-Headers

Pour cette étape, vous aurez besoin des archives tar du noyau.

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

Installez les fichiers d'en-tête communs à toutes les architectures :

install -dv /tools/include
make mrproper
make ARCH=sparc64 headers_check
make ARCH=sparc64 INSTALL_HDR_PATH=dest headers_install
cp -rv dest/include/* /tools/include

Les détails sur ce paquet sont situés dans Section 10.5.2, “Contenu de Linux-Headers.”