Changeset eb170af in clfs-sysroot for BOOK/final-system


Ignore:
Timestamp:
Jan 5, 2009, 12:01:23 PM (16 years ago)
Author:
Chris Staub <chris@…>
Branches:
master
Children:
dfc895e
Parents:
0eb57e6
Message:

Cannot depend on host system having recent GNU sed

Location:
BOOK/final-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/arm/perl.xml

    r0eb57e6 reb170af  
    4040    later:</para>
    4141
    42 <screen os="s2"><userinput>sed -i -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
    43     -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH</userinput></screen>
     42<screen os="s2"><userinput>cp -v Makefile.SH{,.orig}
     43sed -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
     44    -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH.orig > Makefile.SH</userinput></screen>
    4445
    4546    <para os="a">The Cross directory contains a Makefile for cross-compiling:</para>
  • BOOK/final-system/common/gzip.xml

    r0eb57e6 reb170af  
    3030    version:</para>
    3131
    32 <screen os="s2"><userinput>sed -i "s/futimens/gl_&amp;/" $(grep -lr futimens *)</userinput></screen>
     32<screen os="s2"><userinput>for file in $(grep -lr futimens *); do
     33  cp -v ${file}{,.orig}
     34  sed -e "s/futimens/gl_&amp;/" ${file}.orig > ${file}
     35done</userinput></screen>
    3336
    3437    <para os="a">Prepare Gzip for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.