Index: BOOK/Makefile
===================================================================
--- BOOK/Makefile	(revision faa64670b4482d67c66e709fd92bfbcc7d91b6dc)
+++ BOOK/Makefile	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -7,5 +7,5 @@
 S		:= -
 
-ARCHS		:= x86
+ARCHS		:= x86 mips
 
 ARCHS_HTML	:= $(ARCHS:%=%$(S)html)
Index: BOOK/appendices/dependencies/mips.xml
===================================================================
--- BOOK/appendices/dependencies/mips.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/appendices/dependencies/mips.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<appendix id="appendixc-mips" xreflabel="Appendix C">
+  <?dbhtml dir="appendixc"?>
+  <?dbhtml filename="mips-dependencies.html"?>
+
+  <title>MIPS Dependencies</title>
+
+  <para>This page contains dependency information for packages specific to MIPS.</para>
+
+</appendix>
Index: BOOK/bootable/mips-chapter.xml
===================================================================
--- BOOK/bootable/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/bootable/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-bootable" xreflabel="Making the CLFS System Bootable">
+  <?dbhtml dir="bootable"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Making the CLFS System Bootable</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/fstab.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/kernel.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/chowning.xml"/>
+
+</chapter>
Index: BOOK/bootable/mips/kernel.xml
===================================================================
--- BOOK/bootable/mips/kernel.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/bootable/mips/kernel.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-bootable-kernel" role="wrap">
+  <?dbhtml filename="kernel.html"?>
+
+  <title>Linux-&linux-version;</title>
+
+  <indexterm zone="ch-bootable-kernel">
+    <primary sortas="a-Linux">Linux</primary>
+  </indexterm>
+
+  <sect2 role="package"><title/>
+    <para>The Linux package contains the Linux kernel.</para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of the kernel</title>
+
+    <para os="a">Building the kernel involves a few steps&mdash;configuration,
+    compilation, and installation. Read the <filename>README</filename>
+    file in the kernel source tree for alternative methods to the way this
+    book configures the kernel.</para>
+
+    <para os="b">Prepare for compilation by running the following command:</para>
+
+<screen os="c"><userinput>make mrproper</userinput></screen>
+
+    <para os="d">This ensures that the kernel tree is absolutely clean. The
+    kernel team recommends that this command be issued prior to each
+    kernel compilation. Do not rely on the source tree being clean after
+    un-tarring.</para>
+
+    <para os="h">Configure the kernel via a menu-driven interface.
+    Please note that the udev bootscript requires "rtc" and "tmpfs" to be
+    enabled and built into the kernel, not as modules. BLFS has
+    some information regarding particular kernel configuration requirements of
+    packages outside of CLFS at <ulink
+    url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
+
+<screen os="i"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
+
+    <para os="j">Alternatively, <command>make oldconfig</command> may be more
+    appropriate in some situations. See the <filename>README</filename>
+    file for more information.</para>
+
+    <para os="k">If desired, skip kernel configuration by copying the kernel
+    config file, <filename>.config</filename>, from the host system
+    (assuming it is available) to the root directory of the unpacked kernel
+    sources. However, we do not recommend this option. It is often better
+    to explore all the configuration menus and create the kernel configuration
+    from scratch.</para>
+
+    <para os="m">Compile the kernel image and modules:</para>
+
+<screen os="n"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
+
+    <para os="o">If using kernel modules, an
+    <filename>/etc/modprobe.conf</filename> file may be needed.
+    Information pertaining to modules and kernel configuration is
+    located in the kernel documentation in the <filename
+    class="directory">Documentation</filename> directory of the kernel
+    sources tree. Also, <filename>modprobe.conf(5)</filename> may
+    be of interest.</para>
+
+    <para os="p">Be very careful when reading other documentation relating to
+    kernel modules because it usually applies to 2.4.x kernels only. As
+    far as we know, kernel configuration issues specific to Hotplug and
+    Udev are not documented. The problem is that Udev will create a device
+    node only if Hotplug or a user-written script inserts the corresponding
+    module into the kernel, and not all modules are detectable by Hotplug.
+    Note that statements like the one below in the
+    <filename>/etc/modprobe.conf</filename> file do not work with Udev:</para>
+
+<screen os="q"><literal>alias char-major-XXX some-module</literal></screen>
+
+    <para os="r">Because of the complications with Udev and modules,
+    we strongly recommend starting with a completely non-modular kernel
+    configuration, especially if this is the first time using Udev.</para>
+
+    <para os="s">Install the modules, if the kernel configuration uses
+    them:</para>
+
+<screen os="t"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
+    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+
+    <para os="u">After kernel compilation is complete, additional steps are
+    required to complete the installation. Some files need to be copied to
+    the <filename class="directory">${CLFS}/boot</filename> directory.</para>
+
+    <para os="v">Issue the following command to install the kernel:</para>
+
+<screen><userinput>cp vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
+
+    <para os="w"><filename>System.map</filename> is a symbol file for the kernel.
+    It maps the function entry points of every function in the kernel API,
+    as well as the addresses of the kernel data structures for the running
+    kernel. Issue the following command to install the map file:</para>
+
+<screen os="w1"><userinput>cp System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
+
+    <para os="x">The kernel configuration file <filename>.config</filename>
+    produced by the <command>make menuconfig</command> step above contains
+    all the configuration selections for the kernel that was just compiled.
+    It is a good idea to keep this file for future reference:</para>
+
+<screen os="y"><userinput>cp .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
+
+    <warning os="z">
+      <para>Some kernel documentation recommends creating a symlink from
+      <filename class="symlink">/usr/src/linux</filename> pointing to the
+      kernel source directory. This is specific to kernels prior to the
+      2.6 series and <emphasis>must not</emphasis> be created on an CLFS
+      system as it can cause problems for packages you may wish to build
+      once your base CLFS system is complete.</para>
+
+      <para>Also, the headers in the system's <filename
+      class="directory">include</filename> directory should
+      <emphasis>always</emphasis> be the ones against which Glibc was
+      compiled (from the Linux-Headers package) and should
+      <emphasis>never</emphasis> be replaced by the kernel headers.</para>
+    </warning>
+
+  </sect2>
+
+  <sect2 id="contents-kernel" role="content">
+    <title>Contents of Linux</title>
+
+    <segmentedlist>
+      <segtitle>Installed files</segtitle>
+
+      <seglistitem>
+        <seg>config-[linux-version], clfskernel-[linux-version],
+        and System.map-[linux-version]</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="config">
+        <term><filename>config-[linux-version]</filename></term>
+        <listitem>
+          <para>Contains all the configuration selections for the kernel</para>
+          <indexterm zone="ch-bootable-kernel config">
+            <primary sortas="e-/boot/config">/boot/config-[linux-version]</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="clfskernel">
+        <term><filename>clfskernel-[linux-version]</filename></term>
+        <listitem>
+          <para>The engine of the Linux system. When turning on the
+          computer, the kernel is the first part of the operating system
+          that gets loaded. It detects and initializes all components of
+          the computer's hardware, then makes these components available
+          as a tree of files to the software and turns a single CPU into
+          a multitasking machine capable of running scores of programs
+          seemingly at the same time.</para>
+          <indexterm zone="ch-bootable-kernel clfskernel">
+            <primary sortas="b-clfskernel">clfskernel-[linux-version]</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="System.map">
+        <term><filename>System.map-[linux-version]</filename></term>
+        <listitem>
+          <para>A list of addresses and symbols; it maps the entry points
+          and addresses of all the functions and data structures in the
+          kernel</para>
+          <indexterm zone="ch-bootable-kernel System.map">
+            <primary sortas="e-/boot/System.map">/boot/System.map-[linux-version]</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>
Index: BOOK/cross-tools/common/gcc-final.xml
===================================================================
--- BOOK/cross-tools/common/gcc-final.xml	(revision faa64670b4482d67c66e709fd92bfbcc7d91b6dc)
+++ BOOK/cross-tools/common/gcc-final.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -71,5 +71,5 @@
         <term><parameter>--enable-languages=c,c++</parameter></term>
         <listitem>
-          <para>This option ensures that only the C compiler is built.</para>
+          <para>This option ensures that only the C compiler is built. If the C++ compiler is not needed, use --enable-languages=c</para>
         </listitem>
       </varlistentry>
Index: BOOK/cross-tools/mips-chapter.xml
===================================================================
--- BOOK/cross-tools/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/cross-tools/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-cross-tools" xreflabel="Constructing Cross-Compile Tools">
+  <?dbhtml dir="cross-tools"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Constructing Cross-Compile Tools</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <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/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/binutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc-headers.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/gcc-final.xml"/>
+
+</chapter>
Index: BOOK/cross-tools/mips/linux-headers.xml
===================================================================
--- BOOK/cross-tools/mips/linux-headers.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/cross-tools/mips/linux-headers.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-linux-headers" role="wrap">
+  <?dbhtml filename="linux-headers.html"?>
+
+  <title>Linux-Headers-&linux-headers-version;</title>
+
+  <indexterm zone="ch-system-linux-headers">
+    <primary sortas="a-Linux-Headers">Linux-Headers</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <para>The Linux Headers package contains the
+    <quote>sanitized</quote> kernel headers.</para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Linux Headers</title>
+
+    <para os="a">For years it has been common practice to use
+    <quote>raw</quote> kernel headers (straight from a kernel tarball) in
+    <filename class="directory">/usr/include</filename>, but over the last few
+    years, the kernel developers have taken a strong stance that this
+    should not be done. This gave birth to the Linux-Libc-Headers Project,
+    which was designed to maintain an API stable version of the Linux
+    headers. Recently this project stopped producing updates, so the Cross-LFS
+    team started development on our own project to sanitize the headers.</para>
+
+    <para os="b">Install the header files that are common to all architectures:</para>
+
+<screen os="c"><userinput>install -dv ${CLFS}/usr/include
+cp -av include/{asm-generic,linux,mtd,scsi,sound} ${CLFS}/usr/include</userinput></screen>
+
+    <para os="d">Install the header files that are specific to this architecture:</para>
+
+<screen><userinput>cp -av include/asm-mips ${CLFS}/usr/include/asm</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-linux-headers" role="content">
+    <title>Contents of Linux-Headers</title>
+
+    <segmentedlist>
+      <segtitle>Installed headers</segtitle>
+
+      <seglistitem>
+        <seg>/usr/include/{asm,linux}/*.h</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="linux-headers">
+        <term><filename
+        class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
+        <listitem>
+          <para>The Linux API headers</para>
+          <indexterm zone="ch-system-linux-headers linux-headers">
+            <primary
+            sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>
Index: BOOK/cross-tools/mips/uclibc-headers.xml
===================================================================
--- BOOK/cross-tools/mips/uclibc-headers.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/cross-tools/mips/uclibc-headers.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-uclibc-headers" role="wrap">
+  <?dbhtml filename="uclibc-headers.html"?>
+
+  <title>uClibc-&uclibc-version; Headers</title>
+
+  <indexterm zone="ch-cross-tools-uclibc-headers">
+    <primary sortas="a-uClibc">uClibc</primary>
+    <secondary>cross tools, headers</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of uClibc Headers</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='b'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='d'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='e'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='f'])"/>
+
+<screen os="d1"><userinput>cp .config .config.orig
+sed -e "/^KERNEL_SOURCE/s:=.*:=\"${CLFS}/usr\":" \
+    -e "/^SHARED_LIB_LOADER_PREFIX/s:=.*:=\"/lib\":" \
+    -e "/^DEVEL_PREFIX/s:=.*:=\"/usr\":" \
+    -e "/^RUNTIME_PREFIX/s:=.*:=\"/\":" \
+    .config.orig > .config</userinput></screen>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='h'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='i'])"/>
+
+   <para os="d2">Create the Headers:</para>
+
+<screen os="d3"><userinput>make TARGET_ARCH=mips headers</userinput></screen>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='l'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='m'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="uclibc.xml"
+  xpointer="xpointer(//*[@os='n'])"/>
+
+<screen os="d5"><userinput>cp -a include/* ${CLFS}/usr/include</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="content" id="contents-uclibc-headers">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-uclibc" role="."/></para>
+
+  </sect2>
+
+</sect1>
Index: BOOK/cross-tools/mips/uclibc.xml
===================================================================
--- BOOK/cross-tools/mips/uclibc.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/cross-tools/mips/uclibc.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-uclibc" role="wrap">
+  <?dbhtml filename="uclibc.html"?>
+
+  <title>uClibc-&uclibc-version;</title>
+
+  <indexterm zone="ch-cross-tools-uclibc">
+    <primary sortas="a-uClibc">uClibc</primary>
+    <secondary>cross tools</secondary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <para>The uClibc package contains the main C library. This library provides
+    the basic routines for allocating memory, searching directories, opening and
+    closing files, reading and writing files, string handling, pattern matching,
+    arithmetic, and so on.</para>
+
+    <para>THIS IS JUST A PLACEHOLDER, YOU *WILL* NEED TO DO 'make menuconfig' SELECT MIPS ARCHITECTURE AND THE SPECIFIC MIPS YOU ARE USING!</para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of uClibc</title>
+
+    <para os="a">Since we are cross-compiling, we need to make sure when we
+    configuration for our architecture we get the correct information. The
+    following sed makes sure we are using the proper settings for our
+    architecture: (This is a place holder for the other architectures). Make sure you select the MIPS architecture and the correct processor/endianness.</para>
+
+<screen os="b"><userinput>make menuconfig</userinput></screen>
+
+    <note os="c">
+      <para>Below we are just telling uClibc to use the default configuration of
+      uClibc. For those for more adventureous, you can use make menuconfig, and
+      do a more custom build of your uClibc.</para>
+    </note>
+
+    <para os="d">Create default configuration:</para>
+
+<screen os="e"><userinput>make defconfig</userinput></screen>
+
+   <para os="f">We will need to edit the configuration file, to make sure everything gets
+   compiled and put into it's proper locations:</para>
+
+<screen os="g"><userinput>cp .config .config.orig
+sed -e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${CLFS_TARGET}-\":" \
+    -e "/^KERNEL_SOURCE/s:=.*:=\"${CLFS}/usr\":" \
+    -e "/^SHARED_LIB_LOADER_PREFIX/s:=.*:=\"/lib\":" \
+    -e "/^DEVEL_PREFIX/s:=.*:=\"/usr\":" \
+    -e "/^RUNTIME_PREFIX/s:=.*:=\"/\":" \
+    .config.orig > .config</userinput></screen>
+
+    <para os="h">We will need to make sure that some settings in uClibc are set so we
+    can utilize all the features of BusyBox:</para>
+
+<screen os="i"><userinput>UCLIBC_OPTIONS="DO_C99_MATH UCLIBC_HAS_RPC UCLIBC_HAS_CTYPE_CHECKED UCLIBC_HAS_WCHAR UCLIBC_HAS_HEXADECIMAL_FLOATS
+                UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE UCLIBC_HAS_PRINTF_M_SPEC UCLIBC_HAS_FTW UCLIBC_HAS_IPV6"
+for config in $UCLIBC_OPTIONS; do
+        cp .config .config.orig
+        sed -e "s:# ${config} is not set:${config}=y:" .config.orig > .config
+done
+echo "UCLIBC_HAS_FULL_RPC=y" >> .config</userinput></screen>
+
+    <para os="j">Compile the package:</para>
+
+<screen os="k"><userinput>make</userinput></screen>
+
+   <para os="l">We will remove the files that were copied over from our Linux Headers during
+   the building of uClibc. These files were copied into the include directory of the source
+   directory of uClibc:</para>
+
+<screen os="m"><userinput>rm include/{asm,asm-generic,linux}</userinput></screen>
+
+    <para os="n">Install the package:</para>
+
+<screen os="o"><userinput>make PREFIX=${CLFS} install</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-uclibc" role="content">
+    <title>Contents of uClibc</title>
+
+    <segmentedlist>
+      <segtitle>Installed uClibc</segtitle>
+
+      <seglistitem>
+        <seg>To Be Written</seg>
+      </seglistitem>
+    </segmentedlist>
+<!--
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+     <varlistentry id="uclibc">
+        <term><filename
+        class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
+        <listitem>
+          <para>The Linux API headers</para>
+          <indexterm zone="ch-system-linux-headers linux-headers">
+            <primary
+            sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+-->
+
+  </sect2>
+</sect1>
Index: BOOK/cross-tools/mips/variables.xml
===================================================================
--- BOOK/cross-tools/mips/variables.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/cross-tools/mips/variables.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-variables">
+  <?dbhtml filename="variables.html"?>
+
+  <title>Build Variables</title>
+
+  <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
+
+  <para os="a">During the building of the cross-compile tools you will need to
+  set a few variables that will be dependent on your particular needs.
+  The first variable will be the triplet of the <envar>HOST</envar> machine.
+  You will need to set the <envar>CHOST</envar> triplet to match your
+  particular needs. To set this information you can issue the following
+  command:</para>
+
+<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
+
+  <para os="c">Now you will need to set the target triplet for the target
+  architecture. You can do this by running the same command as above, just
+  running it on the target machine. If you can't run the command on the
+  target machine, you can use the table at the bottom of this page. Set
+  the command using the method listed below:</para>
+
+<screen os="d"><userinput>export CLFS_TARGET="{target tripplet}"</userinput></screen>
+
+  <para os="e">Now we will add these to <filename>~/.bashrc</filename>, just in
+  case you have to exit and restart building later:</para>
+
+<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
+echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
+
+  <table os="g">
+    <title>Processor Type and  Target Triplets</title>
+    <tgroup cols="2" align="center">
+      <colspec colname="Processor"/>
+      <colspec colname="Triplet"/>
+      <thead>
+        <row>
+          <entry>Processor</entry>
+          <entry>Target Triplet</entry>
+        </row>
+      </thead>
+      <tbody>
+        <row>
+          <entry>MIPS 32 bits Little Endian</entry>
+          <entry>mipsel-unknown-linux-uclibc</entry>
+        </row>
+        <row>
+          <entry>MIPS 32 bits Big Endian</entry>
+          <entry>mips-unknown-linux-uclibc</entry>
+        </row>
+        <row>
+          <entry>MIPS 64 bits Little Endian</entry>
+          <entry>mips64el-unknown-linux-uclibc</entry>
+        </row>
+        <row>
+          <entry>MIPS 64 bits Big Endian</entry>
+          <entry>mips64-unknown-linux-uclibc</entry>
+        </row>
+      </tbody>
+    </tgroup>
+  </table>
+
+</sect1>
Index: BOOK/final-system/mips-chapter.xml
===================================================================
--- BOOK/final-system/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/final-system/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-building-system" xreflabel="Installing Basic System Software">
+  <?dbhtml dir="final-system"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Installing Basic System Software</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/variables.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/busybox.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/udev.xml"/>
+
+</chapter>
Index: BOOK/general.ent
===================================================================
--- BOOK/general.ent	(revision faa64670b4482d67c66e709fd92bfbcc7d91b6dc)
+++ BOOK/general.ent	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -17,4 +17,5 @@
 
 <!ENTITY version-x86 "&version;-x86">
+<!ENTITY version-mips "&version;-mips">
 
 <!ENTITY lfs-root "http://www.linuxfromscratch.org/">
Index: BOOK/index.xml
===================================================================
--- BOOK/index.xml	(revision faa64670b4482d67c66e709fd92bfbcc7d91b6dc)
+++ BOOK/index.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -19,9 +19,13 @@
       <surname>Oliver</surname>
     </author>
+    <author>
+      <firstname>Maarten</firstname>
+      <surname>Lankhorst</surname>
+    </author>
   </authorgroup>
 
   <copyright id="copyright">
     <year>2005&ndash;2006</year>
-    <holder>Jim Gifford &amp; Ryan Oliver</holder>
+    <holder>Jim Gifford &amp; Ryan Oliver &amp; Maarten Lankhorst</holder>
   </copyright>
 
Index: BOOK/introduction/mips-chapter.xml
===================================================================
--- BOOK/introduction/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/introduction/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-intro" xreflabel="Introduction">
+  <?dbhtml dir="introduction"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Introduction</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/acknowledgements.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/how.xml"/>
+  <!-- Uncoment after the first CLFS release
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/whatsnew.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/whatsnew.xml"/>
+  -->
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/changelog.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/changelog.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/resources.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/askforhelp.xml"/>
+  <!-- This page is only for published versions if the LiveCD is included
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/livecd.xml"/>
+  -->
+
+</chapter>
Index: BOOK/introduction/mips/changelog.xml
===================================================================
--- BOOK/introduction/mips/changelog.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/introduction/mips/changelog.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-intro-changelog-mips">
+  <title>Changelog for X86</title>
+  <?dbhtml filename="changelog-mips.html"?>
+
+  <para>Below is a list of changes specifics for this architecture made
+  since the previous release of the book. For general changes see
+  <xref linkend="ch-intro-changelog"/>,</para>
+
+  <itemizedlist>
+    <title>Changelog Entries:</title>
+
+<!-- Changelog template
+
+    <listitem>
+      <para>Date</para>
+      <itemizedlist>
+        <listitem>
+          <para>[name] - Changelog entry.</para>
+        </listitem>
+        <listitem>
+          <para>[name] - Another changelog entry.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+-->
+
+    <listitem>
+      <para>November 11, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[mlankhorst] - Added mips to the book.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+  </itemizedlist>
+
+</sect1>
Index: BOOK/introduction/mips/livecd.xml
===================================================================
--- BOOK/introduction/mips/livecd.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/introduction/mips/livecd.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-intro-bootcd" arch="arm">
+  <?dbhtml filename="bootcd.html"?>
+
+  <title>About the Included CD</title>
+
+  <para>For your convenience, we have included a CD with this book that
+  contains the source packages needed for creating a Linux From Scratch
+  system.  The CD is bootable and provides a stable working environment
+  for building LFS.  This book refers to this system as the
+  <quote>host system.</quote>  The CD images are actively maintained and
+  updated versions can be found at
+  <ulink url="ftp://ftp.lfs-matrix.de/pub/lfs-livecd/"/></para>
+
+  <para>In addition to the tools required to build LFS, the host system
+  on the CD has a number of other helpful tools installed:</para>
+
+  <itemizedlist>
+
+    <listitem>
+      <para>An HTML version of this book</para>
+    </listitem>
+
+    <listitem>
+      <para>The X Window System Environment</para>
+    </listitem>
+
+    <listitem>
+      <para>Web Tools</para>
+      <itemizedlist>
+        <listitem>
+          <para>Wget (command line file retriever)</para>
+        </listitem>
+        <listitem>
+          <para>Lynx (text web browser)</para>
+        </listitem>
+        <listitem>
+          <para>Irssi (console IRC client)</para>
+        </listitem>
+        <listitem>
+          <para>Firefox (graphical web browser)</para>
+        </listitem>
+        <listitem>
+          <para>Xchat (X-based IRC client)</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>Text Editors</para>
+      <itemizedlist>
+        <listitem>
+          <para>Vim</para>
+        </listitem>
+        <listitem>
+          <para>Nano</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>Network Tools</para>
+      <itemizedlist>
+        <listitem>
+          <para>SSH Server and Client</para>
+        </listitem>
+        <listitem>
+          <para>NFS Server and Client</para>
+        </listitem>
+        <listitem>
+          <para>Smbmount (mount.cifs) for Windows shares</para>
+        </listitem>
+        <listitem>
+          <para>Subversion</para>
+        </listitem>
+        <listitem>
+          <para>Dhcpcd (DHCP client)</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>Filesystem Programs</para>
+      <itemizedlist>
+        <listitem>
+          <para>Reiserfsprogs</para>
+        </listitem>
+        <listitem>
+          <para>Xfsprogs</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>nALFS - A tool for automating LFS builds</para>
+    </listitem>
+
+  </itemizedlist>
+
+</sect1>
Index: BOOK/introduction/mips/whatsnew.xml
===================================================================
--- BOOK/introduction/mips/whatsnew.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/introduction/mips/whatsnew.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-intro-whatsnew-arm">
+  <title>What's New for ARM</title>
+  <?dbhtml filename="whatsnew-arm.html"?>
+
+  <para>Below is a list of changes specifics for this architecture made
+  since the previous release of the book. For general changes see
+  <xref linkend="ch-intro-whatsnew"/>,</para>
+
+  <itemizedlist>
+    <title>Upgraded to:</title>
+
+    <listitem>
+      <para>None</para>
+    </listitem>
+  </itemizedlist>
+
+  <itemizedlist>
+    <title>Added:</title>
+
+    <listitem>
+      <para>None</para>
+    </listitem>
+  </itemizedlist>
+
+  <itemizedlist>
+    <title>Removed:</title>
+
+    <listitem>
+      <para>None</para>
+    </listitem>
+  </itemizedlist>
+
+</sect1>
Index: BOOK/materials/mips-chapter.xml
===================================================================
--- BOOK/materials/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/materials/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-getting-materials" xreflabel="Packages and Patches">
+  <?dbhtml dir="materials"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Packages and Patches</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/packages.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patches.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/patches.xml"/>
+
+</chapter>
Index: BOOK/materials/mips/packages.xml
===================================================================
--- BOOK/materials/mips/packages.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/materials/mips/packages.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-materials-packages-mips">
+  <?dbhtml filename="packages-mips.html"?>
+
+  <title>Additional Packages for MIPS</title>
+
+<!--
+  <variablelist role="materials">
+
+  </variablelist>
+-->
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/packages.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+</sect1>
Index: BOOK/materials/mips/patches.xml
===================================================================
--- BOOK/materials/mips/patches.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/materials/mips/patches.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-materials-patches-mips">
+  <?dbhtml filename="patches-mips.html"?>
+
+  <title>Additional Patches for MIPS</title>
+
+<!--
+
+  <variablelist role="materials">
+
+    <varlistentry os="coreutils-x86_uname-patch">
+      <term>Coreutils Uname Patch - <token>&coreutils-x86_uname-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;coreutils/&coreutils-x86_uname-patch;"/></para>
+        <para>MD5 sum: <literal>&coreutils-x86_uname-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+  </variablelist>
+
+-->
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/patches.xml"
+  xpointer="xpointer(//*[@os='a'])"/>
+
+</sect1>
Index: BOOK/mips-index.xml
===================================================================
--- BOOK/mips-index.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/mips-index.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "general.ent">
+  %general-entities;
+]>
+
+<book>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/mips/bookinfo.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="prologue/preface.xml"/>
+
+  <part id="part1">
+    <?dbhtml filename="part1.html"?>
+
+    <title>Introduction</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="introduction/mips-chapter.xml"/>
+
+  </part>
+
+  <part id="part2">
+    <?dbhtml filename="part2.html"?>
+
+    <title>Preparing for the Build</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="partitioning/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="materials/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-preps/chapter.xml"/>
+
+  </part>
+
+  <part id="part3">
+    <?dbhtml filename="part3.html"?>
+
+    <title>Make the Cross-Compile Tools</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cross-tools/mips-chapter.xml"/>
+
+  </part>
+
+  <part id="part4">
+    <?dbhtml filename="part4.html"?>
+
+    <title>Building the CLFS System</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="final-system/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootscripts/chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bootable/mips-chapter.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="the-end/chapter.xml"/>
+
+  </part>
+
+  <part id="part5">
+    <?dbhtml filename="part5.html"?>
+
+    <title>Appendices</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acronymlist.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/acknowledgments.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/dependencies/common.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/dependencies/mips.xml"/>
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="appendices/license.xml"/>
+
+  </part>
+  <index/>
+
+</book>
Index: BOOK/partitioning/mips-chapter.xml
===================================================================
--- BOOK/partitioning/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/partitioning/mips-chapter.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<chapter id="chapter-partitioning" xreflabel="Preparing a New Partition">
+  <?dbhtml dir="partitioning"?>
+  <?dbhtml filename="chapter.html"?>
+
+  <title>Preparing a New Partition</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/creatingpartition.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/creatingfilesystem.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mounting.xml"/>
+
+</chapter>
Index: BOOK/prologue/mips/bookinfo.xml
===================================================================
--- BOOK/prologue/mips/bookinfo.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
+++ BOOK/prologue/mips/bookinfo.xml	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<bookinfo>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/title)"/>
+
+  <subtitle>Version &version-mips;</subtitle>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/authorgroup)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(/bookinfo/copyright)"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../index.xml"
+  xpointer="xpointer(bookinfo/bibliosource)"/>
+
+  <legalnotice>
+    <para>Copyright &copy; 2005-2006, Jim Gifford, Ryan Oliver &amp; Maarten Lankhorst</para>
+
+    <para>All rights reserved.</para>
+
+    <para>This material may be distributed only subject to the terms and
+    conditions set forth in the <xref linkend="license"/> v1.0 or later
+    (the latest version is presently available at <ulink
+    url="http://www.opencontent.org/openpub/"/>).</para>
+
+    <!-- Modifications and limitations to the OPL (see section VI)
+    can be place here, if needed. -->
+
+    <para><trademark class='registered'>Linux</trademark> is a registered
+    trademark of Linus Torvalds.</para>
+
+    <para>This book is based on the "Linux From Scratch" book, that was
+    released under the following license:</para>
+
+    <para>Copyright (c) 1999&ndash;2006, Gerard Beekmans</para>
+
+    <para>All rights reserved.</para>
+
+    <para>Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are
+    met:</para>
+
+    <itemizedlist>
+      <listitem>
+        <para>Redistributions in any form must retain the above copyright
+        notice, this list of conditions and the following disclaimer</para>
+      </listitem>
+      <listitem>
+        <para>Neither the name of <quote>Linux From Scratch</quote> nor the
+        names of its contributors may be used to endorse or promote products
+        derived from  this material without specific prior written
+        permission</para>
+      </listitem>
+      <listitem>
+        <para>Any material derived from Linux From Scratch must contain
+        a reference to the <quote>Linux From Scratch</quote> project</para>
+      </listitem>
+    </itemizedlist>
+
+    <para>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+    <quote>AS IS</quote> AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+    BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+    FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+    OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</para>
+
+  </legalnotice>
+
+</bookinfo>
Index: BOOK/stylesheets/top-index.xsl
===================================================================
--- BOOK/stylesheets/top-index.xsl	(revision faa64670b4482d67c66e709fd92bfbcc7d91b6dc)
+++ BOOK/stylesheets/top-index.xsl	(revision 99fc8916aecfa33ab814f9f0b4aee608fad431d9)
@@ -113,4 +113,11 @@
             </h4>
           </li>
+          <li>
+            <h4>
+              <a href="mips">
+                <xsl:text>mips</xsl:text>
+              </a>
+            </h4>
+          </li>
         </ul>
       </div>
@@ -142,4 +149,9 @@
         <xsl:text> </xsl:text>
         <xsl:value-of select="author[2]/surname"/>
+      </h3>
+      <h3 class="author">
+        <xsl:value-of select="author[3]/firstname"/>
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="author[3]/surname"/>
       </h3>
     </div>
