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 tarball.
Install the kernel header files:
make mrproper make ARCH=powerpc headers_check make ARCH=powerpc INSTALL_HDR_PATH=/tools headers_install
The meaning of the make commands:
make
mrproper
Ensures that the kernel source dir is clean.
make
ARCH=powerpc headers_check
Sanitizes the raw kernel headers so that they can be used by userspace programs.
make
ARCH=powerpc 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.”