Changeset 162e1b4 for BOOK/final-system


Ignore:
Timestamp:
Jan 20, 2012, 2:15:38 PM (13 years ago)
Author:
Jonathan Norman <jon@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
ff6796f
Parents:
91b8781 (diff), a5f7c53e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Updated Yaboot to 1.3.17 for Master

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/ppc/yaboot.xml

    r91b8781 r162e1b4  
    3131
    3232<screen os="b"><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen>
     33
     34    <para os="aa"> Prevent the build from failing due to warnings with
     35    the following sed:</para>
     36
     37<screen os="ba"><userinput>sed -i 's%-Werror%%' Makefile</userinput></screen>
    3338
    3439    <para os="c">Compile the package:</para>
  • BOOK/final-system/ppc64/yaboot.xml

    r91b8781 r162e1b4  
    2424    <para>Existing multilib distributions alter gcc to default to 32-bit
    2525    output.  Because our gcc defaults to 64-bit, we need to pass appropriate
    26     options to both the compiler and the linker.  The Makefile already
    27     overrides any CC and ignores LDFLAGS in favour of its own variables, so we
    28     need to use the following seds for a successful compile and install.</para>
     26    options to both the compiler and the linker.  To prevent the build from
     27    failing due to compiler warnings, the -Werror flag is removed.  The
     28    Makefile already overrides any CC and ignores LDFLAGS in favour of
     29    its own variables, so we need to use the following seds for a
     30    successful compile and install.</para>
    2931
    3032<screen><userinput>sed -i -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \
     33    -e "s/-Werror//" \
    3134    -e "s/\(-Bstatic\)/-melf32ppclinux \1/" Makefile
    3235</userinput></screen>
     
    4144          variable and inserts the flag to force <command>gcc</command> to
    4245          create 32-bit code when compiling yaboot.</para>
     46        </listitem>
     47      </varlistentry>
     48      <varlistentry>
     49        <term><parameter>"s/-Werror//"</parameter></term>
     50        <listitem>
     51          <para>This deletes the -Werror flag from the Makefile.</para>
    4352        </listitem>
    4453      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.