- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/linux-headers.xml
r2fde3aa r61ad0b7f 32 32 <screen os="c"><userinput>make mrproper 33 33 make headers_check 34 make INSTALL_HDR_PATH=/usr headers_install 34 make INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* /usr/include 35 36 find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen> 36 37 … … 54 55 55 56 <varlistentry os="d3"> 56 <term><parameter>make INSTALL_HDR_PATH= /usrheaders_install</parameter></term>57 <term><parameter>make INSTALL_HDR_PATH=dest headers_install</parameter></term> 57 58 <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> 67 64 </listitem> 68 65 </varlistentry> … … 80 77 81 78 <seglistitem> 82 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,s csi,sound,video,xen}/*.h</seg>79 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg> 83 80 <seg>/usr/include/asm, /usr/include/asm-generic, /usr/include/drm, 84 81 /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> 87 83 </seglistitem> 88 84 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.