Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/sparc/silo-build.xml

    r72ba28f rdabbced  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <para os="ae">This sed allows us to compile the bin2h binary separately.</para>
    34 
    35 <screen os="ad"><userinput>sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile</userinput></screen>
    36 
    37 <para os="af">Compile the bin2h and util binaries for the host.</para>
    38 
    39 <screen os="aa"><userinput>make -C common programs CC=cc
    40 make -C second util CC=cc</userinput></screen>
    41 
    42     <variablelist>
    43       <varlistentry>
    44         <term><parameter>CC=cc</parameter></term>
    45         <listitem>
    46           <para>Overwrites the default value of <command>gcc -m32</command> which will fail
    47 to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para>
    48         </listitem>
    49       </varlistentry>
    50     </variablelist>
    51 
    5233    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5334    href="../../final-system/sparc/silo.xml"
    5435    xpointer="xpointer(//*[@os='c'])"/>
    5536
    56 <screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
     37<screen os="aa"><userinput>make CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    5738
    5839    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.