2.3. Linux-7.0.3 API Headers

The Linux API Headers (in linux-7.0.tar.xz) expose the kernels API for use by libc

Package Information

Linux-headers Dependencies

Required

Binutils-2.46.0-pass1 GCC-15.2.0-pass1

2.3.1. Installation of Linux-headers

Prepare Linux-headers for compilation:

Now Configure the Package, issue:

make mrproper

To Compile the Package, issue:

make headers

Now Install the Package, issue:

find usr/include -type f ! -name '*.h' -delete

cp -rv usr/include $LFS/usr

2.3.2. Contents of Linux-headers

Installed programs: PROGRAMS
Installed libraries: LIBRARIES
Installed directories: DIRECTORIES