5.6. Linux-Headers-3.10.14

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

5.6.1. Installation of Linux-Headers

For this step you will need the kernel tarball.

Install the kernel header files:

make mrproper
make ARCH=sparc64 headers_check
make ARCH=sparc64 INSTALL_HDR_PATH=/tools headers_install

The meaning of the make commands:

make mrproper

Ensures that the kernel source dir is clean.

make ARCH=sparc64 headers_check

Sanitizes the raw kernel headers so that they can be used by userspace programs.

make ARCH=sparc64 INSTALL_HDR_PATH=/tools headers_install

This will install the kernel headers into /tools/include.

Details on this package are located in Section 10.5.2, “Contents of Linux-Headers.”