LFS - 5.7.1. Installation of the Kernel Headers

Jim Gifford lfs at jg555.com
Wed Feb 16 22:16:58 PST 2005


The Auld Family wrote:

>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
>
>  
>
The directory for the step your running, in this case where ever your 
kernel source is located.

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986




More information about the lfs-support mailing list