[Clfs-commits] commit: r4552 - in /branches/clfs-embedded: BOOK/ BOOK/cross-tools/ BOOK/cross-tools/arm/ BOOK/cross-tools/common/ BOOK/cross-tools/mips/ BOOK/cross-tools/x86/ BOOK/materials/common/ config/

svn at cross-lfs.org svn at cross-lfs.org
Sun Jan 25 12:12:03 PST 2009


Author: jim
Date: Sun Jan 25 20:12:02 2009
New Revision: 4552

Log:
uClibc Updates

Added:
    branches/clfs-embedded/BOOK/cross-tools/common/linux-headers.xml
      - copied unchanged from r4551, branches/clfs-embedded/BOOK/cross-tools/x86/linux-headers.xml
    branches/clfs-embedded/BOOK/cross-tools/common/uclibc.xml
      - copied, changed from r4551, branches/clfs-embedded/BOOK/cross-tools/x86/uclibc.xml
    branches/clfs-embedded/config/
    branches/clfs-embedded/config/uClibc-0.9.30.config
Removed:
    branches/clfs-embedded/BOOK/cross-tools/arm/uclibc.xml
    branches/clfs-embedded/BOOK/cross-tools/mips/uclibc.xml
    branches/clfs-embedded/BOOK/cross-tools/x86/linux-headers.xml
    branches/clfs-embedded/BOOK/cross-tools/x86/uclibc.xml
Modified:
    branches/clfs-embedded/BOOK/cross-tools/arm-chapter.xml
    branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml
    branches/clfs-embedded/BOOK/cross-tools/mips-chapter.xml
    branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml
    branches/clfs-embedded/BOOK/cross-tools/wrt-chapter.xml
    branches/clfs-embedded/BOOK/cross-tools/x86-chapter.xml
    branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml
    branches/clfs-embedded/BOOK/general.ent
    branches/clfs-embedded/BOOK/materials/common/packages.xml
    branches/clfs-embedded/BOOK/packages.ent

Modified: branches/clfs-embedded/BOOK/cross-tools/arm-chapter.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/arm-chapter.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/arm-chapter.xml Sun Jan 25 20:12:02 2009
@@ -15,12 +15,12 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/abi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/variables.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/linux-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/uclibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
 
 </chapter>

Modified: branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml Sun Jan 25 20:12:02 2009
@@ -24,23 +24,28 @@
   href="../x86/variables.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
-<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/arm.*/arm/g'</userinput></screen>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../mips/variables.xml"
-  xpointer="xpointer(//*[@os='e1'])"/>
-
-<screen os="e2"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/armeb/BIG/' -e 's/arm/LITTLE/'</userinput></screen>
+<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/arm.*/arm/g')</userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/variables.xml"
   xpointer="xpointer(//*[@os='e'])"/>
 
-<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
-echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
-echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc</userinput></screen>
+<screen os="f"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/armeb/BIG/' -e 's/arm/LITTLE/')
+if [ "${CLFS_ENDIAN}" = "LITTLE"]; then
+  export CLFS_NOT_ENDIAN=BIG
+else
+  export CLFS_NOT_ENDIAN=LITTLE
+fi</userinput></screen>
 
-  <table os="g">
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/variables.xml"
+  xpointer="xpointer(//*[@os='g'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/variables.xml"
+  xpointer="xpointer(//*[@os='h'])"/>
+
+  <table os="i">
     <title>Processor Type and  Target Triplets</title>
     <?dbfo table-width="5in" ?>
 

Modified: branches/clfs-embedded/BOOK/cross-tools/mips-chapter.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/mips-chapter.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/mips-chapter.xml Sun Jan 25 20:12:02 2009
@@ -15,12 +15,12 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/abi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/variables.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
 
 </chapter>

Modified: branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml Sun Jan 25 20:12:02 2009
@@ -24,11 +24,18 @@
   href="../x86/variables.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
-<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/mips.*/mips/' -e 's/mipsel.*/mips/'</userinput></screen>
+<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/mips.*/mips/' -e 's/mipsel.*/mips/')</userinput></screen>
 
-  <para os="e1">Now we will setup out default endian needed we need to build:</para>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../x86/variables.xml"
+  xpointer="xpointer(//*[@os='e'])"/>
 
-<screen os="e2"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/mipsel/LITTLE/' -e 's/mips/BIG/'</userinput></screen>
+<screen os="f"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/mipsel/LITTLE/' -e 's/mips/BIG/')
+if [ "${CLFS_ENDIAN}" = "LITTLE"]; then
+  export CLFS_NOT_ENDIAN=BIG
+else
+  export CLFS_NOT_ENDIAN=LITTLE
+fi</userinput></screen>
 
   <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your
 uClibc is built. There are currently 5 MIPS ISA Levels. To keep things simple
@@ -39,14 +46,15 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/variables.xml"
-  xpointer="xpointer(//*[@os='e'])"/>
+  xpointer="xpointer(//*[@os='g'])"/>
 
-<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
+<screen os="h"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
+echo export CLFS_NOT_ENDIAN=\""${CLFS_NOT_ENDIAN}\"" >> ~/.bashrc
 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc</userinput></screen>
 
-  <table os="g">
+  <table os="i">
     <title>Processor Type and  Target Triplets</title>
     <?dbfo table-width="5.5in" ?>
 

Modified: branches/clfs-embedded/BOOK/cross-tools/wrt-chapter.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/wrt-chapter.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/wrt-chapter.xml Sun Jan 25 20:12:02 2009
@@ -15,12 +15,12 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/abi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/variables.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/linux-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
 
 </chapter>

Modified: branches/clfs-embedded/BOOK/cross-tools/x86-chapter.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/x86-chapter.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/x86-chapter.xml Sun Jan 25 20:12:02 2009
@@ -15,12 +15,12 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/abi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/variables.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/linux-headers.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/uclibc.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
 
 </chapter>

Modified: branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml Sun Jan 25 20:12:02 2009
@@ -24,15 +24,22 @@
 
   <para os="c">Now we will setup out default architecture needed we need to build:</para>
 
-<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/'</userinput></screen>
+<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
 
-  <para os="e">Now we will add this to <filename>~/.bashrc</filename>, just in
+  <para os="e">Now we will setup out default endian needed we need to build and set the one we don't need:</para>
+
+<screen os="f"><userinput>export CLFS_ENDIAN=LITTLE
+export CLFS_NOT_ENDIAN=BIG</userinput></screen>
+
+  <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
   case you have to exit and restart building later:</para>
 
-<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
-echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc</userinput></screen>
+<screen os="h"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
+echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
+echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
+echo export CLFS_NOT_ENDIAN=\""${CLFS_NOT_ENDIAN}\"" >> ~/.bashrc</userinput></screen>
 
-  <table os="g">
+  <table os="i">
     <title>Processor Type and  Target Triplets</title>
     <?dbfo table-width="4.5in" ?>
 

Modified: branches/clfs-embedded/BOOK/general.ent
==============================================================================
--- branches/clfs-embedded/BOOK/general.ent (original)
+++ branches/clfs-embedded/BOOK/general.ent Sun Jan 25 20:12:02 2009
@@ -35,7 +35,8 @@
 <!ENTITY alpha-gnu "ftp://alpha.gnu.org/gnu/">
 <!ENTITY redhat "ftp://sources.redhat.com/pub/">
 <!ENTITY kernel "http://www.kernel.org/pub/">
-<!ENTITY sourceforge "http://prdownloads.sourceforge.net/">
+<!ENTITY sourceforge "http://master.dl.sourceforge.net/">
+<!ENTITY svn-clfs-config "http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-embedded/config/">
 <!ENTITY svn-clfs-software "http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-embedded/software/">
 
 <!ENTITY dependencies "Installation depends on">

Modified: branches/clfs-embedded/BOOK/materials/common/packages.xml
==============================================================================
--- branches/clfs-embedded/BOOK/materials/common/packages.xml (original)
+++ branches/clfs-embedded/BOOK/materials/common/packages.xml Sun Jan 25 20:12:02 2009
@@ -87,6 +87,15 @@
     </varlistentry>
 
     <varlistentry>
+      <term>uClibc Config File (&uclibc-config-version;) - <token>&uclibc-config-size;</token>:</term>
+      <listitem>
+        <para>Home page: <ulink url="&uclibc-config-home;"/></para>
+        <para>Download: <ulink url="&uclibc-config-url;"/></para>
+        <para>MD5 sum: <literal>&uclibc-config-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term>Zlib (&zlib-version;) - <token>&zlib-size;</token>:</term>
       <listitem>
         <para>Home page: <ulink url="&zlib-home;"/></para>

Modified: branches/clfs-embedded/BOOK/packages.ent
==============================================================================
--- branches/clfs-embedded/BOOK/packages.ent (original)
+++ branches/clfs-embedded/BOOK/packages.ent Sun Jan 25 20:12:02 2009
@@ -66,6 +66,12 @@
 <!ENTITY uclibc-md5 "e5766e2566e0297adebebbcc0aba1f2d">
 <!ENTITY uclibc-home "http://uclibc.org/">
 
+<!ENTITY uclibc-config-version "&uclibc-version;">
+<!ENTITY uclibc-config-size "9 KB">
+<!ENTITY uclibc-config-url "&svn-clfs-config;uClibc-&uclibc-config-version;.config">
+<!ENTITY uclibc-config-md5 "744ec0160bf17418d118f47a4aed4fa6">
+<!ENTITY uclibc-config-home " ">
+
 <!ENTITY zlib-version "1.2.3">
 <!ENTITY zlib-size "485 KB">
 <!ENTITY zlib-url "http://www.zlib.net/zlib-&zlib-version;.tar.gz">




More information about the Clfs-commits mailing list