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 to unpack the kernel tarball
(linux-3.14.tar.xz
) and
cd into its source
directory before entering the commands on this page.
Apply the latest Linux sublevel patch:
xzcat ../patch-3.14.21.xz | patch -Np1 -i -
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.”