Changeset 72ba28f for BOOK/boot/sparc


Ignore:
Timestamp:
Jan 29, 2013, 2:39:12 PM (12 years ago)
Author:
Jonathan Norman <jon@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
7dc574e7
Parents:
8929f07
Message:

Updated SILO build instructions in the boot method.

File:
1 edited

Legend:

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

    r8929f07 r72ba28f  
    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
     40make -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
     47to 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
    3352    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3453    href="../../final-system/sparc/silo.xml"
    3554    xpointer="xpointer(//*[@os='c'])"/>
    3655
    37 <screen os="aa"><userinput>make CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
     56<screen os="ac"><userinput>make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}</userinput></screen>
    3857
    3958    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.