LFS - 5.7.1. Installation of the Kernel Headers

The Auld Family chadauld at comcast.net
Wed Feb 16 22:05:14 PST 2005


Hello all,

I kind of confused on this step...  Hopefully someone can help.  What
directory should I be running the commands below from?  The untarred
linux-2.6.8.1 source is in the main directory /dev/lfs and the linux-
libc-headers-2.6.8.1 directory was untarred in the source directory.

make mrproper

Create the include/linux/version.h file: 

make include/linux/version.h

Create the platform-specific include/asm symlink: 

make include/asm

Install the platform-specific header files: 

mkdir /tools/glibc-kernheaders
cp -HR include/asm /tools/glibc-kernheaders
cp -R include/asm-generic /tools/glibc-kernheaders

Finally, install the cross-platform kernel header files: 

cp -R include/linux /tools/glibc-kernheaders




More information about the lfs-support mailing list