4.5. Linux-Headers-4.9.22

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

4.5.1. Installation of Linux Headers

For this step you will need the kernel tarball.

Install the header files that are common to all architectures:

make mrproper
make ARCH=${CLFS_ARCH} headers_check
make ARCH=${CLFS_ARCH} INSTALL_HDR_PATH=${CLFS}/cross-tools/${CLFS_TARGET} headers_install

4.5.2. Contents of Linux-Headers

Installed headers: ${CLFS}/cross-tools/${CLFS_TARGET}/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h

Short Descriptions

${CLFS}/cross-tools/${CLFS_TARGET}/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h

The Linux API headers