%general-entities; ]> Linux-&linux-version; Headers Linux tools, headers <para>The Linux kernel package contains the kernel source as well as the header files used by Glibc.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.1 SBU</seg><seg>186 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>Linux Headers installation depends on</segtitle> <seglistitem><seg>Coreutils and Make</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of the Kernel Headers Because some packages need to refer to the kernel header files, now is a good time to unpack the kernel archive, set it up, and copy the required files to a place where gcc can locate them later. Prepare for the header installation with: make mrproper This ensures that the kernel tree is absolutely clean. It is recommended that this command be issued prior to each kernel compilation. Do not assume that the source tree is automatically clean after un-tarring. 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 <para>Details on this package are located in <xref linkend="contents-kernel" role="."/></para> </sect2> </sect1>