Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/x86/kernel.xml

    rfe422de r1d9abb9  
    4949    xpointer="xpointer(//*[@os='d'])"/>
    5050
    51     <note os="kc"><para>A good starting place for setting up the kernel
    52     configuration is to run <command>make defconfig</command>. This will set the    base configuration to a good state that takes your current system
    53     architecture into account.</para>
    54 
    55     <para>Be sure to enable or disable following features or the system might
    56     not work correctly or boot at all:</para>
    57 
    58     <screen role="nodump">Device Drivers  ---&gt;
    59   Generic Driver Options  ---&gt;
    60     ()  path to uevent helper
    61     [*] Maintain a devtmpfs filesystem to mount at /dev
    62     [ ] Fallback user-helper invocation for firmware loading</screen></note>
    63 
    6451    <para os="ae">Configure the kernel via a menu-driven interface:</para>
    6552
     
    9380
    9481<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    95     INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
     82    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    9683
    9784    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    10087
    10188<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    102     INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
     89   INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
    10390
    10491    <para os="u">After kernel compilation is complete, additional steps are
    10592    required to complete the installation. Some files need to be copied to
    106     the <filename class="directory">/tools/boot</filename> directory.</para>
     93    the <filename class="directory">${CLFS}/boot</filename> directory.</para>
    10794
    108     <para os="v">Issue the following commands to install the kernel:</para>
     95    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     96    href="../../bootable/x86/kernel.xml"
     97    xpointer="xpointer(//*[@os='v'])"/>
    10998
    110 <screen><userinput>mkdir -pv /tools/boot
    111 cp -v arch/i386/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
     99<screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
    112100
    113101    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    115103    xpointer="xpointer(//*[@os='w'])"/>
    116104
    117 <screen os="w1"><userinput>cp -v System.map /tools/boot/System.map-&linux-version;</userinput></screen>
     105<screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
    118106
    119107    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    121109    xpointer="xpointer(//*[@os='x'])"/>
    122110
    123 <screen os="x1"><userinput>cp -v .config /tools/boot/config-&linux-version;</userinput></screen>
     111<screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
    124112
    125113  </sect2>
Note: See TracChangeset for help on using the changeset viewer.