Changeset 4f2d91dc


Ignore:
Timestamp:
02/26/2022 03:43:12 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
9673470
Parents:
db51ee9
git-author:
Xi Ruoyao <xry111@…> (12/17/2021 12:15:38 PM)
git-committer:
Xi Ruoyao <xry111@…> (02/26/2022 03:43:12 PM)
Message:

cross-ng: linux and linux-headers: specify ARCH for cross build

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter05/linux-headers.xml

    rdb51ee9 r4f2d91dc  
    5757    be available. The headers are first placed in
    5858    <filename class="directory">./usr</filename>, then copied to the needed
    59     location.</para>
    60 
    61 <screen><userinput remap="make">make headers
     59    location.  Replace <replaceable>x86</replaceable> with a value suitable
     60    for your target machine if it's not a 32-bit or 64-bit x86:</para>
     61
     62<screen><userinput remap="make">make headers ARCH=<replaceable>x86</replaceable>
    6263find usr/include -name '.*' -delete
    6364rm usr/include/Makefile
  • chapter06/kernel.xml

    rdb51ee9 r4f2d91dc  
    5959    This is done through a menu-driven interface, for example:</para>
    6060
    61 <screen role="nodump"><userinput>make ARCH=x86 CROSS_COMPILE=$LFS_TGT- menuconfig</userinput></screen>
     61<screen role="nodump"><userinput>make ARCH=<replaceable>x86</replaceable> CROSS_COMPILE=$LFS_TGT- menuconfig</userinput></screen>
    6262
    6363    <variablelist>
     
    6767        <term><command>ARCH=x86</command></term>
    6868        <listitem>
    69           <para>Configure the kernel for running on the target machine.</para>
     69          <para>Configure the kernel for running on the target machine.
     70          Replace <replaceable>x86</replaceable> with a value suitable
     71          for your target machine if it's not a 32-bit or 64-bit x86.</para>
    7072        </listitem>
    7173      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.