Changeset a9bbc46 in clfs-embedded for BOOK/cross-tools/common


Ignore:
Timestamp:
Nov 28, 2010, 7:46:43 AM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
d9bcc87
Parents:
87d09b7
Message:

Updated uClibc to 0.9.31.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/uclibc.xml

    r87d09b7 ra9bbc46  
    3535    </note>
    3636
    37     <para os="p1">The following patch contains a number of updates to the
    38     &uclibc-version; branch by the uClibc developers:</para>
     37    <para os="b">The following patch contains the default configurations for
     38    the architectures covered in this book:</para>
    3939
    40 <screen os="p2"><userinput>patch -Np1 -i ../&uclibc-branch_update-patch;</userinput></screen>
     40<screen os="c"><userinput>patch -Np1 -i ../&uclibc-configs-patch;</userinput></screen>
    4141
    42     <para os="b">Copy the uClibc config file from where you downloaded it:</para>
     42   <para os="d">Now we will copy the configuration file best matching this
     43   build and use that as the base:</para>
    4344
    44 <screen os="c"><userinput>cp ${CLFS}/sources/uClibc-&uclibc-version;.config .config</userinput></screen>
    45 
    46    <para os="d">We will need to edit the configuration file, to make sure everything gets
    47    compiled and it's compiled to the proper architecture:</para>
    48 
    49 <screen os="e"><userinput>cp .config{,.orig}
    50 sed -e "s@# TARGET_${CLFS_ARCH} is not set@TARGET_${CLFS_ARCH}=y@" \
    51   -e "s@\(^TARGET_ARCH=\).*@\1\"${CLFS_ARCH}\"@" \
    52   -e "s@\(^CROSS_COMPILER_PREFIX=\).*@\1\"${CLFS_TARGET}-\"@" \
    53   -e "s@\(^KERNEL_HEADERS=\).*@\1\"${CLFS}/usr/include\"@" \
    54   -e "s@.*\(^ARCH_${CLFS_NOT_ENDIAN}_ENDIAN\).*@# \1 is not set@g" \
    55   -e "s@.*\(ARCH_${CLFS_ENDIAN}_ENDIAN\).*@\1=y@g" \
    56   -e "s@.*\(ARCH_WANTS_${CLFS_ENDIAN}_ENDIAN\).*@\1=y@g" \
    57   .config.orig > .config</userinput></screen>
     45<screen os="e"><userinput>cp clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config</userinput></screen>
    5846
    5947    <para os="f">The config is a basic working system, but there are some
     
    6654    <para os="h">Compile the package:</para>
    6755
    68 <screen os="i"><userinput>make CROSS=${CLFS_TARGET}- CC="${CLFS_TARGET}-gcc ${BUILD}"</userinput></screen>
     56<screen os="i"><userinput>make</userinput></screen>
    6957
    7058    <para os="l">Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.