linux-headers.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-tools-linux-headers" role="wrap">
  8. <?dbhtml filename="linux-headers.html"?>
  9. <title>Linux-Headers-&linux-version;</title>
  10. <indexterm zone="ch-tools-linux-headers">
  11. <primary sortas="a-Linux-Headers">Linux-Headers</primary>
  12. <secondary>tools, headers</secondary>
  13. </indexterm>
  14. <sect2 role="package">
  15. <title/>
  16. <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  17. href="../chapter06/linux-headers.xml"
  18. xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
  19. <segmentedlist>
  20. <segtitle>&buildtime;</segtitle>
  21. <segtitle>&diskspace;</segtitle>
  22. <seglistitem>
  23. <seg>&linux-headers-ch5-sbu;</seg>
  24. <seg>&linux-headers-ch5-du;</seg>
  25. </seglistitem>
  26. </segmentedlist>
  27. </sect2>
  28. <sect2 role="installation">
  29. <title>Installation of Linux-Headers</title>
  30. <para>The Linux kernel needs to expose an Application Programming Interface
  31. (API) for the system's C library (Glibc in LFS) to utilize. This is done
  32. by way of sanitizing various C header files that are shipped in the Linux
  33. kernel source tarball.</para>
  34. <para>Install the header files:</para>
  35. <screen><userinput>make mrproper
  36. make headers_install
  37. make headers_check
  38. cp -av usr/include/* /tools/include</userinput></screen>
  39. </sect2>
  40. <sect2 role="content">
  41. <title/>
  42. <para>Details on this package are located in
  43. <xref linkend="contents-linux-headers" role="."/></para>
  44. </sect2>
  45. </sect1>