Details on this package are located in Section 10.5.2, “Contents of Linux-Headers.”
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:
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
Details on this package are located in Section 10.5.2, “Contents of Linux-Headers.”