Changeset 8550e7a in clfs-embedded for BOOK


Ignore:
Timestamp:
Feb 4, 2007, 1:59:29 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
2704249
Parents:
1603a9d
Message:

Updates

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/beyond-clfs3/common/iptables.xml

    r1603a9d r8550e7a  
    2828    <para os="a">Compile the package:</para>
    2929
    30 <screen os="b"><userinput>make CC="${CC} ${BUILD} -Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
     30<screen os="b"><userinput>make CC="${CC} ${BUILD}" COPT_FLAGS="-Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
    3131   LIBDIR=/lib BINDIR=/sbin</userinput></screen>
    3232
  • BOOK/cross-tools/x86/uclibc-headers.xml

    r1603a9d r8550e7a  
    4747  xpointer="xpointer(//*[@os='h'])"/>
    4848
    49 <screen os="i"><userinput>cp .config .config.orig
     49<screen os="i"><userinput>cp .config{,.orig}
    5050sed -e "/^KERNEL_HEADERS/s:=.*:=\"${CLFS}/usr/include\":" \
    5151    -e "/^SHARED_LIB_LOADER_PREFIX/s:=.*:=\"/lib\":" \
  • BOOK/cross-tools/x86/uclibc.xml

    r1603a9d r8550e7a  
    3333    so that the headers will be copied instead:</para>
    3434
    35 <screen os="d"><userinput>cp Makefile Makefile.orig
     35<screen os="d"><userinput>cp Makefile{,.orig}
    3636sed -e 's/$(LN) -fs/cp/g' Makefile.orig &gt; Makefile
    3737for file in `find libc/sysdeps/linux -name Makefile`; do
    38         cp $file $file.orig
     38        cp $file{,.orig}
    3939        sed -e 's/$(LN) -fs/cp/g' -e 's@../libc/@$(TOPDIR)libc/@g' $file.orig > $file
    4040done</userinput></screen>
     
    5353   compiled and put into its proper location:</para>
    5454
    55 <screen os="i"><userinput>cp .config .config.orig
     55<screen os="i"><userinput>cp .config{,.orig}
    5656sed -e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${CLFS_TARGET}-\":" \
    5757    -e "/^KERNEL_HEADERS/s:=.*:=\"${CLFS}/usr/include\":" \
     
    6969                UCLIBC_USE_NETLINK LDSO_PRELOAD_FILE_SUPPORT"
    7070for config in $UCLIBC_OPTIONS; do
    71         cp .config .config.orig
     71        cp .config{,.orig}
    7272        sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config
    7373done
  • BOOK/final-system/common/zlib.xml

    r1603a9d r8550e7a  
    3030<screen os="p2"><userinput>patch -Np1 -i ../&zlib-destdir-patch;</userinput></screen>
    3131
    32     <para os="a">Prepare Zlib for compilation:</para>
     32    <para os="a">Change the default optimization to Os</para>
    3333
    34 <screen os="b"><userinput>CC="${CC} ${BUILD}" ./configure --prefix=/usr --shared</userinput></screen>
     34<screen os="b"><userinput>cp configure{,.orig}
     35sed -e 's/-O3/-Os/g' configure.orig > configure</userinput></screen>
     36
     37    <para os="c">Prepare Zlib for compilation:</para>
     38
     39<screen os="d"><userinput>CC="${CC} ${BUILD}" ./configure --prefix=/usr --shared</userinput></screen>
    3540
    3641    <variablelist os="aa">
  • BOOK/final-system/x86/busybox.xml

    r1603a9d r8550e7a  
    6666                 CONFIG_ENVUIDGID CONFIG_ENVDIR CONFIG_SOFTLIMIT CONFIG_FEATURE_2_4_MODULES"
    6767for config in $BUSYBOX_OPTIONS; do
    68         cp .config .config.orig
     68        cp .config{,.orig}
    6969        sed -e "s:${config}=y:${config}=n:" .config.orig &gt; .config
    7070done
    7171BUSYBOX_OPTIONS="CONFIG_FEATURE_SH_IS_ASH CONFIG_FEATURE_TRACEROUTE_VERBOSE CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE"
    7272for config in $BUSYBOX_OPTIONS; do
    73         cp .config .config.orig
     73        cp .config{,.orig}
    7474        sed -e "s:# ${config} is not set:${config}=y:" .config.orig &gt; .config
    7575done</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.