Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/linux-headers.xml

    r2fde3aa r61ad0b7f  
    3232<screen os="c"><userinput>make mrproper
    3333make headers_check
    34 make INSTALL_HDR_PATH=/usr headers_install
     34make INSTALL_HDR_PATH=dest headers_install
     35cp -rv dest/include/* /usr/include
    3536find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen>
    3637
     
    5455
    5556      <varlistentry os="d3">
    56         <term><parameter>make INSTALL_HDR_PATH=/usr headers_install</parameter></term>
     57        <term><parameter>make INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5758        <listitem>
    58           <para>This will install the kernel headers into
    59           <filename class="directory">/usr/include</filename>.</para>
    60         </listitem>
    61       </varlistentry>
    62 
    63       <varlistentry os="d4">
    64         <term><parameter>find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</parameter></term>
    65         <listitem>
    66           <para>Removes a number of unneeded debugging files that were installed.</para>
     59          <para>Normally the headers_install target removes the entire
     60          destination directory (default
     61          <filename class="directory">/usr/include</filename>) before
     62          installing the headers. To prevent this, we tell the kernel to
     63          install the headers to a directory inside the source dir.</para>
    6764        </listitem>
    6865      </varlistentry>
     
    8077
    8178      <seglistitem>
    82         <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</seg>
     79        <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg>
    8380        <seg>/usr/include/asm, /usr/include/asm-generic, /usr/include/drm,
    8481        /usr/include/linux, /usr/include/mtd, /usr/include/rdma,
    85         /usr/include/scsi, /usr/include/sound, /usr/include/uapi,
    86         /usr/include/video, /usr/include/xen</seg>
     82        /usr/include/scsi, /usr/include/sound, /usr/include/video, /usr/include/xen</seg>
    8783      </seglistitem>
    8884    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.