Changeset 07114c98


Ignore:
Timestamp:
Jul 1, 2006, 12:48:39 PM (15 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
95112ed
Parents:
51f1397
Message:

r4209@server: jim | 2006-07-01 12:46:18 -0700
Updated variables -

LFS_TARGET is now CLFS_TARGET
LFS_HOST is now CLFS_HOST
LFS_TARGET32 is now CLFS_TARGET32
LFS is now CLFS
/mnt/lfs is now /mnt/clfs


Location:
BOOK
Files:
122 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r51f1397 r07114c98  
    7676endef
    7777
    78 lfs: toplevel render common
     78clfs: toplevel render common
    7979
    8080toplevel:
     
    132132        done
    133133
    134 .PHONY: lfs toplevel common render nochunk nochunk_render pdf text validate trouble dump-commands download-list
     134target-list:
     135        @printf "%-15s %-10s\n" "Architecture" "Build Type" ;\
     136        for arch in $(ARCH) ; do \
     137        MULTILIB=0 ;\
     138        PURE64=0 ;\
     139        TEST="`echo $$arch | grep -c -e '-64'`" ;\
     140        if [ "$$TEST" = "1" ]; then \
     141                PURE64=1 ;\
     142        else \
     143                TEST="`echo $$arch | grep -c -e '64'`" ;\
     144                if [ "$$TEST" = "1" ]; then \
     145                        MULTILIB=1 ;\
     146                fi; \
     147        fi; \
     148        if [ "$$PURE64" = "1" ]; then \
     149                printf "%-15s %-10s\n" $$arch "Pure 64" ;\
     150        else \
     151                if [ "$$MULTILIB" = "1" ]; then \
     152                        printf "%-15s %-10s\n" $$arch "Multilib" ;\
     153                else \
     154                        printf "%-15s %-10s\n" $$arch "Default" ;\
     155                fi; \
     156        fi; \
     157        done
     158
     159help:
     160        @printf "%-25s %-20s\n" "Command" "Function"
     161        @printf "%-25s %-20s\n" "make download-list" "Create download file lists"
     162        @printf "%-25s %-20s\n" "make dump-commands" "Dump all the commands from the book"
     163        @printf "%-25s %-20s\n" "make clfs" "Make the standard multilib page book"
     164        @printf "%-25s %-20s\n" "make nochunks" "Make single html file book"
     165        @printf "%-25s %-20s\n" "make pdf" "Make pdf copy of the book"
     166        @printf "%-25s %-20s\n" "make target-list" "Get List of Architecture targets"
     167        @printf "%-25s %-20s\n" "make test" "Make a text copy of the book"
     168        @printf "%-25s %-20s\n" "make trouble" "Make a copy tha's easy to troubleshoot"
     169        @printf "%-25s %-20s\n" "make validate" "Run book validation"
     170
     171.PHONY: clfs toplevel common render nochunks nochunk_render pdf text validate trouble dump-commands download-list \
     172        target-list help
  • BOOK/README

    r51f1397 r07114c98  
    1 LFS Book README
     1CLFS Book README
    22
    33This document is meant to instruct the user on how to convert the book's XML
     
    77INSTALL file, then continue reading for examples how to convert these files into
    88various other formats.
     9
     10By default all books will be generated, to only generate the target your want
     11you can specify ARCH={target} to create a particular book to any of the command
     12lines below. To get a list of targets use make target-list
    913
    1014XML to XHTML:
  • BOOK/boot/alpha/kernel.xml

    r51f1397 r07114c98  
    6767    xpointer="xpointer(//*[@os='ae'])"/>
    6868
    69 <screen><userinput>make ARCH=alpha CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     69<screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    7070
    7171    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7373    xpointer="xpointer(//*[@os='m'])"/>
    7474
    75 <screen><userinput>make ARCH=alpha CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     75<screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7676
    7777    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9191    xpointer="xpointer(//*[@os='s'])"/>
    9292
    93 <screen><userinput>make ARCH=alpha CROSS_COMPILE=${LFS_TARGET}- \
     93<screen><userinput>make ARCH=alpha CROSS_COMPILE=${CLFS_TARGET}- \
    9494   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    9595
  • BOOK/boot/common/changingowner.xml

    r51f1397 r07114c98  
    1111  <title>Changing Ownership</title>
    1212
    13   <para os="a">Currently, the <filename class="directory">$LFS</filename>
     13  <para os="a">Currently, the <filename class="directory">$CLFS</filename>
    1414  directory and all of its subdirectories  are owned by the user
    1515  <systemitem class="username">lfs</systemitem>, a user that exists only
    16   on the host system. For security reasons, the $LFS root directory and
     16  on the host system. For security reasons, the $CLFS root directory and
    1717  all of it subdirectories should be owned by
    1818  <systemitem class="username">root</systemitem>. Change the ownership
    19   for $LFS and its subdirectories by running this command:</para>
     19  for $CLFS and its subdirectories by running this command:</para>
    2020
    2121<screen os="b"><userinput>chown -Rv root:root ${LFS}</userinput></screen>
  • BOOK/boot/common/devices.xml

    r51f1397 r07114c98  
    2121      <para>The commands in the remainder of the book should be run as
    2222      the <systemitem class="username">root</systemitem> user. Also,
    23       double-check that $LFS is set as
     23      double-check that $CLFS is set as
    2424      <systemitem class="username">root</systemitem>.</para>
    2525    </note>
  • BOOK/boot/common/e2fsprogs.xml

    r51f1397 r07114c98  
    3737<screen os="aa"><userinput>../configure --prefix=/tools \
    3838    --enable-elf-shlibs --disable-evms \
    39     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     39    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    4040
    4141    <variablelist os="e">
  • BOOK/boot/common/introduction.xml

    r51f1397 r07114c98  
    1818  installed to allow you to boot the minimal system. Some of these
    1919  packages will be installed onto the root or in /usr on the CLFS
    20   partition ($LFS/bin, $LFS/usr/lib, etc...), rather than /tools, using the
     20  partition ($CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the
    2121  "DESTDIR" option with make. This will require the
    2222  <systemitem class="username">lfs</systemitem> user to have write access to
    23   the rest of the $LFS partition, so you will need to temporarily change the
    24   ownership of $LFS to the <systemitem class="username">lfs</systemitem> user.
     23  the rest of the $CLFS partition, so you will need to temporarily change the
     24  ownership of $CLFS to the <systemitem class="username">lfs</systemitem> user.
    2525  Run the following command as <systemitem
    2626  class="username">root</systemitem>:</para>
    2727
    28 <screen><userinput>chown -v lfs $LFS</userinput></screen>
     28<screen><userinput>chown -v lfs $CLFS</userinput></screen>
    2929
    3030</sect1>
  • BOOK/boot/common/module-init-tools.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="f"><userinput>./configure --prefix=/ \
    30     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/common/udev.xml

    r51f1397 r07114c98  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>make CROSS_COMPILE="${LFS_TARGET}-" CC="${CC}" LD="${CC}" udevdir=/dev</userinput></screen>
     29<screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC}" LD="${CC}" udevdir=/dev</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/mips/colo-build.xml

    r51f1397 r07114c98  
    3434make CC=gcc
    3535cd ../..
    36 make CROSS_COMPILE="${LFS_TARGET}-" binary</userinput></screen>
     36make CROSS_COMPILE="${CLFS_TARGET}-" binary</userinput></screen>
    3737
    3838    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/mips/kernel.xml

    r51f1397 r07114c98  
    6767    xpointer="xpointer(//*[@os='ae'])"/>
    6868
    69 <screen><userinput>make ARCH=mips CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     69<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    7070
    7171    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7373    xpointer="xpointer(//*[@os='m'])"/>
    7474
    75 <screen><userinput>make ARCH=mips CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     75<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7676
    7777    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9191    xpointer="xpointer(//*[@os='s'])"/>
    9292
    93 <screen><userinput>make ARCH=mips CROSS_COMPILE=${LFS_TARGET)- \
     93<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET)- \
    9494   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    9595
  • BOOK/boot/mips64/colo-build.xml

    r51f1397 r07114c98  
    3838make CC=gcc
    3939cd ../..
    40 make CC="${CC} ${BUILD64}" CROSS_COMPILE="${LFS_TARGET}-" binary</userinput></screen>
     40make CC="${CC} ${BUILD64}" CROSS_COMPILE="${CLFS_TARGET}-" binary</userinput></screen>
    4141
    4242    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/mips64/flags.xml

    r51f1397 r07114c98  
    1717echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ${LFS}/root/.bash_profile
    1818echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile
    19 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     19echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
    2020
    2121</sect1>
  • BOOK/boot/mips64/kernel.xml

    r51f1397 r07114c98  
    7171    xpointer="xpointer(//*[@os='ae'])"/>
    7272
    73 <screen><userinput>make ARCH=mips CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     73<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    7474
    7575    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7777    xpointer="xpointer(//*[@os='m'])"/>
    7878
    79 <screen><userinput>make ARCH=mips CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     79<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    8080
    8181    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9595    xpointer="xpointer(//*[@os='s'])"/>
    9696
    97 <screen><userinput>make ARCH=mips CROSS_COMPILE=${LFS_TARGET}- \
     97<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
    9898   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    9999
  • BOOK/boot/multilib/e2fsprogs.xml

    r51f1397 r07114c98  
    4444<screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \
    4545--enable-elf-shlibs --disable-evms \
    46 --host=${LFS_TARGET}</userinput></screen>
     46--host=${CLFS_TARGET}</userinput></screen>
    4747
    4848    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/multilib/module-init-tools.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="f"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/ \
    30    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/multilib/udev.xml

    r51f1397 r07114c98  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>make CROSS_COMPILE="${LFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \
     29<screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \
    3030        udevdir=/dev</userinput></screen>
    3131
  • BOOK/boot/ppc/kernel.xml

    r51f1397 r07114c98  
    5959    xpointer="xpointer(//*[@os='ae'])"/>
    6060
    61 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     61<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    6262
    6363    <warning>
     
    7070    xpointer="xpointer(//*[@os='m'])"/>
    7171
    72 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     72<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7373
    7474    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8888    xpointer="xpointer(//*[@os='s'])"/>
    8989
    90 <screen><userinput>make ARCH=ppc CROSS_COMPILE=${LFS_TARGET}- \
     90<screen><userinput>make ARCH=ppc CROSS_COMPILE=${CLFS_TARGET}- \
    9191   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    9292
  • BOOK/boot/ppc/mktemp.xml

    r51f1397 r07114c98  
    3535
    3636<screen os="e"><userinput>CC="${CC}" ./configure --prefix=/tools --with-libc\
    37     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     37    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3838
    3939    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/ppc/yaboot-build.xml

    r51f1397 r07114c98  
    5252
    5353<screen><userinput>cp Makefile,{.orig}
    54 sed -e "s/\(strip \)/${LFS_TARGET}-\1/" \
     54sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \
    5555    -e 's/-o root -g root//' \
    5656    Makefile.orig > Makefile</userinput></screen>
     
    6060    xpointer="xpointer(//*[@os='g'])"/>
    6161
    62 <screen><userinput>make CROSS=${LFS_TARGET}-</userinput></screen>
     62<screen><userinput>make CROSS=${CLFS_TARGET}-</userinput></screen>
    6363
    6464    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6666    xpointer="xpointer(//*[@os='i'])"/>
    6767
    68 <screen><userinput>make CROSS=${LFS_TARGET}- ROOT=/tools PREFIX= install</userinput></screen>
     68<screen><userinput>make CROSS=${CLFS_TARGET}- ROOT=/tools PREFIX= install</userinput></screen>
    6969
    7070  </sect2>
  • BOOK/boot/ppc64/e2fsprogs.xml

    r51f1397 r07114c98  
    5656<screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \
    5757--enable-elf-shlibs --disable-evms \
    58 --build=${LFS_HOST} --host=${LFS_TARGET} --cache-file=config.cache</userinput></screen>
     58--build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
    5959
    6060    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/ppc64/kernel.xml

    r51f1397 r07114c98  
    6363    xpointer="xpointer(//*[@os='ae'])"/>
    6464
    65 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     65<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    6666
    6767    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6969    xpointer="xpointer(//*[@os='m'])"/>
    7070
    71 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     71<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7272
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8787    xpointer="xpointer(//*[@os='s'])"/>
    8888
    89 <screen><userinput>make ARCH=powerpc CROSS_COMPILE=${LFS_TARGET}- \
     89<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
    9090   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    9191
  • BOOK/boot/ppc64/mktemp.xml

    r51f1397 r07114c98  
    4343
    4444<screen os="e"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools --with-libc\
    45     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     45    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    4646
    4747    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/ppc64/yaboot-build.xml

    r51f1397 r07114c98  
    5757sed -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \
    5858            -e "s/\(-Bstatic\)/-melf32ppclinux \1/" \
    59             -e "s/\(strip \)/${LFS_TARGET}-\1/" \
     59            -e "s/\(strip \)/${CLFS_TARGET}-\1/" \
    6060            -e 's/-o root -g root//' \
    6161    Makefile.orig > Makefile</userinput></screen>
     
    6565    xpointer="xpointer(//*[@os='g'])"/>
    6666
    67 <screen><userinput>CFLAGS=${BUILD32} make CROSS=${LFS_TARGET}-</userinput></screen>
     67<screen><userinput>CFLAGS=${BUILD32} make CROSS=${CLFS_TARGET}-</userinput></screen>
    6868
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7575    xpointer="xpointer(//*[@os='j0'])"/>
    7676
    77 <screen><userinput>make CROSS=${LFS_TARGET}- ROOT=/tools PREFIX= install 2&gt;&amp;1 | tee instlog</userinput></screen>
     77<screen><userinput>make CROSS=${CLFS_TARGET}- ROOT=/tools PREFIX= install 2&gt;&amp;1 | tee instlog</userinput></screen>
    7878
    7979    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/sparc/kernel.xml

    r51f1397 r07114c98  
    5959    xpointer="xpointer(//*[@os='ae'])"/>
    6060
    61 <screen><userinput>make ARCH=sparc CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     61<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    6262
    6363    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6565    xpointer="xpointer(//*[@os='m'])"/>
    6666
    67 <screen><userinput>make ARCH=sparc CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     67<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    6868
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8383    xpointer="xpointer(//*[@os='s'])"/>
    8484
    85 <screen><userinput>make ARCH=sparc CROSS_COMPILE=${LFS_TARGET}- \
     85<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
    8686   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    8787
  • BOOK/boot/sparc/silo-build.xml

    r51f1397 r07114c98  
    3535    xpointer="xpointer(//*[@os='c'])"/>
    3636
    37 <screen os="aa"><userinput>make CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     37<screen os="aa"><userinput>make CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    3838
    3939    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/sparc64/flags.xml

    r51f1397 r07114c98  
    1616<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${LFS}/root/.bash_profile
    1717echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile
    18 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     18echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
    1919
    2020</sect1>
  • BOOK/boot/sparc64/kernel.xml

    r51f1397 r07114c98  
    3939    xpointer="xpointer(//*[@os='m1'])"/>
    4040
    41 <screen><userinput>make mrproper ARCH=sparc64 CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     41<screen><userinput>make mrproper ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    4242
    4343    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6161    xpointer="xpointer(//*[@os='ae'])"/>
    6262
    63 <screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     63<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    6464
    6565    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6767    xpointer="xpointer(//*[@os='m'])"/>
    6868
    69 <screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     69<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7070
    7171    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8686
    8787<screen><userinput>make INSTALL_MOD_PATH=${LFS} ARCH=sparc64 \
    88    CROSS_COMPILE=${LFS_TARGET}- modules_install</userinput></screen>
     88   CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen>
    8989
    9090    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/x86/grub-build.xml

    r51f1397 r07114c98  
    4040
    4141<screen os="aa"><userinput>./configure --prefix=/usr \
    42    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     42   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    4343
    4444    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/x86/kernel.xml

    r51f1397 r07114c98  
    6363    <para os="ae">Configure the kernel via a menu-driven interface:</para>
    6464
    65 <screen><userinput>make ARCH=i386 CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     65<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    6666
    6767    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6969    xpointer="xpointer(//*[@os='m'])"/>
    7070
    71 <screen><userinput>make ARCH=i386 CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     71<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7272
    7373    <para os="af">If the use of kernel modules can't be avoided, an
     
    9191    xpointer="xpointer(//*[@os='s'])"/>
    9292
    93 <screen><userinput>make ARCH=i386 CROSS_COMPILE=${LFS_TARGET}- \
     93<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    9494    INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    9595
  • BOOK/boot/x86_64-64/bin86.xml

    r51f1397 r07114c98  
    4848      output is not for a native system.</para>
    4949
    50 <screen os="f"><userinput>install -v -m 755 -s as/as86 /cross-tools/bin/${LFS_TARGET}-as86
    51 install -v -m 755 -s ld/ld86 /cross-tools/bin/${LFS_TARGET}-ld86</userinput></screen>
     50<screen os="f"><userinput>install -v -m 755 -s as/as86 /cross-tools/bin/${CLFS_TARGET}-as86
     51install -v -m 755 -s ld/ld86 /cross-tools/bin/${CLFS_TARGET}-ld86</userinput></screen>
    5252
    5353  </sect2>
  • BOOK/boot/x86_64/flags.xml

    r51f1397 r07114c98  
    1616<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${LFS}/root/.bash_profile
    1717echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${LFS}/root/.bash_profile
    18 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
     18echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ${LFS}/root/.bash_profile</userinput></screen>
    1919
    2020</sect1>
  • BOOK/boot/x86_64/grub-build.xml

    r51f1397 r07114c98  
    3232
    3333<screen os="aa"><userinput>CC="${CC} ${BUILD32}" ./configure --prefix=/usr \
    34    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     34   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3535
    3636    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/x86_64/kernel.xml

    r51f1397 r07114c98  
    6363    xpointer="xpointer(//*[@os='ae'])"/>
    6464
    65 <screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     65<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    6666
    6767    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6969    xpointer="xpointer(//*[@os='m'])"/>
    7070
    71 <screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     71<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7272
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8787    xpointer="xpointer(//*[@os='s'])"/>
    8888
    89 <screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${LFS_TARGET}- \
     89<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
    9090   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
    9191
  • BOOK/chroot/common/chroot.xml

    r51f1397 r07114c98  
    1717  temporary tools:</para>
    1818
    19 <screen><userinput>chroot "$LFS" /tools/bin/env -i \
     19<screen><userinput>chroot "$CLFS" /tools/bin/env -i \
    2020    HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
    2121    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
     
    3838  <envar>LFS</envar> variable anymore, because all work will be
    3939  restricted to the CLFS file system.  This is because the Bash shell is
    40   told that <filename class="directory">$LFS</filename> is now the root
     40  told that <filename class="directory">$CLFS</filename> is now the root
    4141  (<filename class="directory">/</filename>) directory.</para>
    4242
  • BOOK/chroot/common/kernfs.xml

    r51f1397 r07114c98  
    2323  be mounted:</para>
    2424
    25 <screen><userinput>mkdir -pv $LFS/{dev,proc,sys}</userinput></screen>
     25<screen><userinput>mkdir -pv $CLFS/{dev,proc,sys}</userinput></screen>
    2626
    2727  <para>Now mount the file systems:</para>
    2828
    29 <screen><userinput>mount -vt proc proc $LFS/proc
    30 mount -vt sysfs sysfs $LFS/sys</userinput></screen>
     29<screen><userinput>mount -vt proc proc $CLFS/proc
     30mount -vt sysfs sysfs $CLFS/sys</userinput></screen>
    3131
    3232  <para>Remember that if for any reason you stop working on the CLFS system
     
    3838  starting Udev early in the boot process, so we create them here:</para>
    3939
    40 <screen><userinput>mknod -m 600 $LFS/dev/console c 5 1
    41 mknod -m 666 $LFS/dev/null c 1 3</userinput></screen>
     40<screen><userinput>mknod -m 600 $CLFS/dev/console c 5 1
     41mknod -m 666 $CLFS/dev/null c 1 3</userinput></screen>
    4242
    4343  <para>Once the system is complete and booting, the rest of our device
     
    4848  appear in the new CLFS filesystem:</para>
    4949
    50 <screen><userinput>/tools/bin/mount -o bind /dev $LFS/dev</userinput></screen>
     50<screen><userinput>/tools/bin/mount -o bind /dev $CLFS/dev</userinput></screen>
    5151
    5252  <para>Additional file systems will soon be mounted from within the chroot
     
    5454  for each of these now:</para>
    5555
    56 <screen><userinput>mount -f -vt tmpfs tmpfs $LFS/dev/shm
    57 mount -f -vt devpts -o gid=10,mode=620 devpts $LFS/dev/pts</userinput></screen>
     56<screen><userinput>mount -f -vt tmpfs tmpfs $CLFS/dev/shm
     57mount -f -vt devpts -o gid=10,mode=620 devpts $CLFS/dev/pts</userinput></screen>
    5858
    5959</sect1>
  • BOOK/chroot/mips64/flags.xml

    r51f1397 r07114c98  
    2020  <para>You will need to set your host target triplet for o32 bit:</para>
    2121
    22 <screen><userinput>export LFS_TARGET32="`echo ${MACH_TYPE}| sed -e 's/64//g'`"</userinput></screen>
     22<screen><userinput>export CLFS_TARGET32="`echo ${MACH_TYPE}| sed -e 's/64//g'`"</userinput></screen>
    2323
    2424   <para>To prevent errors when you come back to your build, we will export these
     
    2828echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ~/.bash_profile
    2929echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    30 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     30echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    3131
    3232</sect1>
  • BOOK/chroot/ppc64/flags.xml

    r51f1397 r07114c98  
    1919  <para>You will need to set your host target triplet for 32 bit:</para>
    2020
    21 <screen><userinput>export LFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>
     21<screen><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>
    2222
    2323   <para>To prevent errors when you come back to your build, we will export these
     
    2626<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    2727echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     28echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    2929
    3030</sect1>
  • BOOK/chroot/sparc64/flags.xml

    r51f1397 r07114c98  
    1919  <para>You will need to set your host target triplet for 32 bit:</para>
    2020
    21 <screen><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
     21<screen><userinput>export CLFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
    2222
    2323   <para>To prevent errors when you come back to your build, we will export these
     
    2626<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    2727echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     28echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    2929
    3030</sect1>
  • BOOK/chroot/x86_64/flags.xml

    r51f1397 r07114c98  
    1919  <para>You will need to set your host target triplet for 32 bit:</para>
    2020
    21 <screen><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
     21<screen><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
    2222
    2323   <para>To prevent errors when you come back to your build, we will export these
     
    2626<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    2727echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     28echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    2929
    3030</sect1>
  • BOOK/cross-tools/64/binutils.xml

    r51f1397 r07114c98  
    4848
    4949<screen os="ca"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \
    50    --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \
     50   --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \
    5151   --disable-nls --enable-shared --enable-64-bit-bfd --disable-multilib</userinput></screen>
    5252
  • BOOK/cross-tools/64/glibc.xml

    r51f1397 r07114c98  
    7171    xpointer="xpointer(//*[@os='g'])"/>
    7272
    73 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    74     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     73<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD64}" \
     74    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    7575    ../glibc-&glibc-version;/configure --prefix=/tools \
    76     --host=${LFS_TARGET} --build=${LFS_HOST} \
     76    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    7777    --disable-profile --enable-add-ons \
    7878    --with-tls --enable-kernel=2.6.0 --with-__thread \
  • BOOK/cross-tools/alpha/gcc-static.xml

    r51f1397 r07114c98  
    8181
    8282<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    83     --host=${LFS_HOST} --target=${LFS_TARGET} \
     83    --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    8484    --with-local-prefix=/tools --disable-nls --disable-shared \
    8585    --disable-threads --enable-languages=c</userinput></screen>
  • BOOK/cross-tools/alpha/glibc-headers.xml

    r51f1397 r07114c98  
    5353
    5454<screen os="s3"><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \
    55    --host=${LFS_TARGET} --build=${LFS_HOST} \
     55   --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    5656   --disable-sanity-checks --enable-kernel=2.6.0 \
    5757   --with-headers=/tools/include --cache-file=config.cache \
    58    --with-binutils=/cross-tools/${LFS_TARGET}/bin</userinput></screen>
     58   --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen>
    5959
    6060    <warning os="e1">
     
    8383       
    8484         <varlistentry os="ca3">
    85             <term><parameter>--build=${LFS_HOST}</parameter></term>
     85            <term><parameter>--build=${CLFS_HOST}</parameter></term>
    8686            <listitem>
    8787               <para>When used with --host, this creates a cross-architecture
    88                   executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
     88                  executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para>
    8989            </listitem>
    9090        </varlistentry>
    9191       
    9292        <varlistentry os="ca4">
    93            <term><parameter>--host=${LFS_TARGET}</parameter></term>
     93           <term><parameter>--host=${CLFS_TARGET}</parameter></term>
    9494           <listitem>
    9595               <para>When used with --build, this creates a cross-architecture
    96                   executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
     96                  executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para>
    9797           </listitem>
    9898        </varlistentry>
     
    124124       
    125125       <varlistentry os="ca8">
    126            <term><parameter>--with-binutils=/cross-tools/${LFS_TARGET}/bin</parameter></term>
     126           <term><parameter>--with-binutils=/cross-tools/${CLFS_TARGET}/bin</parameter></term>
    127127           <listitem>
    128128              <para>This tells GLIBC to use the binutils for our specific target architecture.</para>
  • BOOK/cross-tools/alpha/variables.xml

    r51f1397 r07114c98  
    2525    xpointer="xpointer(//*[@os='c'])"/>
    2626
    27 <screen os="d"><userinput>export LFS_TARGET="alpha-unknown-linux-gnu"</userinput></screen>
     27<screen os="d"><userinput>export CLFS_TARGET="alpha-unknown-linux-gnu"</userinput></screen>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/common/binutils.xml

    r51f1397 r07114c98  
    4646
    4747<screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \
    48     --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \
     48    --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \
    4949    --disable-nls --enable-shared --disable-multilib</userinput></screen>
    5050
     
    6262
    6363      <varlistentry os="bd2">
    64         <term><parameter>--host=${LFS_HOST}</parameter></term>
     64        <term><parameter>--host=${CLFS_HOST}</parameter></term>
    6565        <listitem>
    6666          <para>When used with --target, this creates a cross-architecture
    67           executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
     67          executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para>
    6868        </listitem>
    6969      </varlistentry>
    7070
    7171      <varlistentry os="bd3">
    72         <term><parameter>--target=${LFS_TARGET}</parameter></term>
     72        <term><parameter>--target=${CLFS_TARGET}</parameter></term>
    7373        <listitem>
    7474          <para>When used with --host, this creates a cross-architecture
    75           executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
     75          executable that creates files for ${CLFS_TARGET} but runs on ${CLFS_HOST).</para>
    7676        </listitem>
    7777      </varlistentry>
  • BOOK/cross-tools/common/glibc.xml

    r51f1397 r07114c98  
    6565    xpointer="xpointer(//*[@os='g'])"/>
    6666
    67 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
    68     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     67<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
     68    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    6969    ../glibc-&glibc-version;/configure --prefix=/tools \
    70     --host=${LFS_TARGET} --build=${LFS_HOST} \
     70    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    7171    --disable-profile --enable-add-ons \
    7272    --with-tls --enable-kernel=2.6.0 --with-__thread \
     
    8686
    8787      <varlistentry os="dg2">
    88         <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
     88        <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term>
    8989        <listitem>
    9090          <para>This forces Glibc to use the GCC compiler that we made for our target
     
    9494
    9595      <varlistentry os="dg3">
    96         <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
     96        <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term>
    9797        <listitem>
    9898          <para>This forces Glibc to use the <command>ar</command> utility
     
    102102
    103103      <varlistentry os="dg4">
    104         <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
     104        <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term>
    105105        <listitem>
    106106          <para>This forces Glibc to use the <command>ranlib</command> utility
  • BOOK/cross-tools/mips/variables.xml

    r51f1397 r07114c98  
    2727    <para os="aa">For a MIPS Little Endian Machine:</para>
    2828
    29 <screen os="ab"><userinput>export LFS_TARGET="mipsel-unknown-linux-gnu"</userinput></screen>
     29<screen os="ab"><userinput>export CLFS_TARGET="mipsel-unknown-linux-gnu"</userinput></screen>
    3030
    3131    <para os="ac">For a MIPS Big Endian Machine:</para>
    3232
    33 <screen os="ad"><userinput>export LFS_TARGET="mips-unknown-linux-gnu"</userinput></screen>
     33<screen os="ad"><userinput>export CLFS_TARGET="mips-unknown-linux-gnu"</userinput></screen>
    3434
    3535    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/mips64-64/gcc-final.xml

    r51f1397 r07114c98  
    8888
    8989<screen os="bf" ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    90     --target=${LFS_TARGET} --host=${LFS_HOST} --with-abi=64 \
     90    --target=${CLFS_TARGET} --host=${CLFS_HOST} --with-abi=64 \
    9191    --with-local-prefix=/tools --disable-nls --enable-shared \
    9292    --enable-languages=c,c++ --enable-__cxa_atexit --disable-multilib \
  • BOOK/cross-tools/mips64-64/gcc-static.xml

    r51f1397 r07114c98  
    8181
    8282<screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    83     --host=${LFS_HOST} --target=${LFS_TARGET} --disable-mutlilib \
     83    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-mutlilib \
    8484    --with-local-prefix=/tools --disable-nls --disable-shared \
    8585    --disable-threads --enable-languages=c --with-abi=64</userinput></screen>
  • BOOK/cross-tools/mips64/glibc-n32.xml

    r51f1397 r07114c98  
    9292    xpointer="xpointer(//*[@os='g'])"/>
    9393
    94 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILDN32}" \
    95     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     94<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILDN32}" \
     95    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    9696    ../glibc-&glibc-version;/configure --prefix=/tools \
    97     --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib32 \
     97    --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib32 \
    9898    --disable-profile --enable-add-ons \
    9999    --with-tls --enable-kernel=2.6.0 --with-__thread \
     
    105105
    106106      <varlistentry os="fa1">
    107         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILDN32}"</parameter></term>
     107        <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILDN32}"</parameter></term>
    108108        <listitem>
    109109          <para>Forces Glibc to utilize our target architecture GCC utilizing
  • BOOK/cross-tools/mips64/variables.xml

    r51f1397 r07114c98  
    2929    xpointer="xpointer(//*[@os='aa'])"/>
    3030
    31 <screen os="ab"><userinput>export LFS_TARGET="mips64el-unknown-linux-gnu"</userinput></screen>
     31<screen os="ab"><userinput>export CLFS_TARGET="mips64el-unknown-linux-gnu"</userinput></screen>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    3535    xpointer="xpointer(//*[@os='ac'])"/>
    3636
    37 <screen os="ad"><userinput>export LFS_TARGET="mips64-unknown-linux-gnu"</userinput></screen>
     37<screen os="ad"><userinput>export CLFS_TARGET="mips64-unknown-linux-gnu"</userinput></screen>
    3838
    3939    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4141    xpointer="xpointer(//*[@os='m1'])"/>
    4242
    43 <screen os="m2"><userinput>export LFS_TARGET32="`echo ${LFS_TARGET}| sed -e 's/64//g'`"</userinput></screen>
     43<screen os="m2"><userinput>export CLFS_TARGET32="`echo ${CLFS_TARGET}| sed -e 's/64//g'`"</userinput></screen>
    4444
    4545  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
  • BOOK/cross-tools/multilib/binutils.xml

    r51f1397 r07114c98  
    5656
    5757<screen os="bc"><userinput>../binutils-&binutils-version;/configure --prefix=/cross-tools \
    58    --host=${LFS_HOST} --target=${LFS_TARGET} --with-lib-path=/tools/lib \
     58   --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \
    5959   --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
    6060
  • BOOK/cross-tools/multilib/glibc-64bit.xml

    r51f1397 r07114c98  
    7676    xpointer="xpointer(//*[@os='g'])"/>
    7777
    78 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    79     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     78<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD64}" \
     79    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    8080    ../glibc-&glibc-version;/configure --prefix=/tools \
    81     --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
     81    --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib64 \
    8282    --disable-profile --enable-add-ons \
    8383    --with-tls --enable-kernel=2.6.0 --with-__thread \
     
    8989
    9090      <varlistentry os="fa1">
    91         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
     91        <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD64}"</parameter></term>
    9292        <listitem>
    9393          <para>Forces Glibc to utilize our target architecture GCC utilizing
  • BOOK/cross-tools/multilib/glibc.xml

    r51f1397 r07114c98  
    7171    xpointer="xpointer(//*[@os='g'])"/>
    7272
    73 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \
    74     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     73<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \
     74    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    7575    ../glibc-&glibc-version;/configure --prefix=/tools \
    76     --host=${LFS_TARGET32} --build=${LFS_HOST} \
     76    --host=${CLFS_TARGET32} --build=${CLFS_HOST} \
    7777    --disable-profile --enable-add-ons \
    7878    --with-tls --enable-kernel=2.6.0 --with-__thread \
     
    8888
    8989      <varlistentry os="ea1">
    90         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term>
     90        <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD32}"</parameter></term>
    9191        <listitem>
    9292          <para>Forces Glibc to utilize our target architecture GCC utilizing
  • BOOK/cross-tools/ppc/variables.xml

    r51f1397 r07114c98  
    2525    xpointer="xpointer(//*[@os='c'])"/>
    2626
    27 <screen os="d"><userinput>export LFS_TARGET="powerpc-unknown-linux-gnu"</userinput></screen>
     27<screen os="d"><userinput>export CLFS_TARGET="powerpc-unknown-linux-gnu"</userinput></screen>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/ppc64/glibc-64bit.xml

    r51f1397 r07114c98  
    8585    xpointer="xpointer(//*[@os='g'])"/>
    8686
    87 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    88     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     87<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD64}" \
     88    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    8989    ../glibc-&glibc-version;/configure --prefix=/tools \
    90     --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
     90    --host=${CLFS_TARGET} --build=${CLFS_HOST} --libdir=/tools/lib64 \
    9191    --disable-profile --enable-add-ons \
    9292    --with-tls --enable-kernel=2.6.0 --with-__thread \
     
    9898
    9999      <varlistentry os="fa1">
    100         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
     100        <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD64}"</parameter></term>
    101101        <listitem>
    102102          <para>Forces Glibc to utilize our target architecture GCC utilizing
  • BOOK/cross-tools/ppc64/glibc.xml

    r51f1397 r07114c98  
    8888    xpointer="xpointer(//*[@os='g'])"/>
    8989
    90 <screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \
    91     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
     90<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \
     91    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    9292    ../glibc-&glibc-version;/configure --prefix=/tools \
    93     --host=${LFS_TARGET32} --build=${LFS_HOST} \
     93    --host=${CLFS_TARGET32} --build=${CLFS_HOST} \
    9494    --disable-profile --enable-add-ons \
    9595    --with-tls --enable-kernel=2.6.0 --with-__thread \
     
    105105
    106106      <varlistentry os="ea1">
    107         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term>
     107        <term><parameter>CC="${CLFS_TARGET}-gcc ${BUILD32}"</parameter></term>
    108108        <listitem>
    109109          <para>Forces Glibc to utilize our target architecture GCC utilizing
  • BOOK/cross-tools/ppc64/variables.xml

    r51f1397 r07114c98  
    2525    xpointer="xpointer(//*[@os='c'])"/>
    2626
    27 <screen os="d"><userinput>export LFS_TARGET="powerpc64-unknown-linux-gnu"</userinput></screen>
     27<screen os="d"><userinput>export CLFS_TARGET="powerpc64-unknown-linux-gnu"</userinput></screen>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    3131    xpointer="xpointer(//*[@os='m1'])"/>
    3232
    33 <screen os="m2"><userinput>export LFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>
     33<screen os="m2"><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>
    3434
    3535    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/sparc/variables.xml

    r51f1397 r07114c98  
    2525    xpointer="xpointer(//*[@os='c'])"/>
    2626
    27 <screen os="d"><userinput>export LFS_TARGET="sparc-unknown-linux-gnu"</userinput></screen>
     27<screen os="d"><userinput>export CLFS_TARGET="sparc-unknown-linux-gnu"</userinput></screen>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/sparc64/variables.xml

    r51f1397 r07114c98  
    2525    xpointer="xpointer(//*[@os='c'])"/>
    2626
    27 <screen os="d"><userinput>export LFS_TARGET="sparc64-unknown-linux-gnu"</userinput></screen>
     27<screen os="d"><userinput>export CLFS_TARGET="sparc64-unknown-linux-gnu"</userinput></screen>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    3131    xpointer="xpointer(//*[@os='m1'])"/>
    3232
    33 <screen os="m2"><userinput>export LFS_TARGET32="sparc-unknown-linux-gnu"</userinput></screen>
     33<screen os="m2"><userinput>export CLFS_TARGET32="sparc-unknown-linux-gnu"</userinput></screen>
    3434
    3535  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
  • BOOK/cross-tools/x86/gcc-final.xml

    r51f1397 r07114c98  
    9494
    9595<screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    96     --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \
     96    --target=${CLFS_TARGET} --host=${CLFS_HOST} --disable-multilib \
    9797    --with-local-prefix=/tools --disable-nls --enable-shared \
    9898    --enable-languages=c,c++ --enable-__cxa_atexit \
     
    145145    <para os="bh">Continue with compiling the package:</para>
    146146
    147 <screen os="bi"><userinput>make AS_FOR_TARGET="${LFS_TARGET}-as" \
    148     LD_FOR_TARGET="${LFS_TARGET}-ld"</userinput></screen>
     147<screen os="bi"><userinput>make AS_FOR_TARGET="${CLFS_TARGET}-as" \
     148    LD_FOR_TARGET="${CLFS_TARGET}-ld"</userinput></screen>
    149149
    150150    <para os="bj">Install the package:</para>
  • BOOK/cross-tools/x86/gcc-static.xml

    r51f1397 r07114c98  
    7373
    7474<screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    75     --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
     75    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
    7676    --with-local-prefix=/tools --disable-nls --disable-shared \
    7777    --disable-threads --enable-languages=c</userinput></screen>
  • BOOK/cross-tools/x86/variables.xml

    r51f1397 r07114c98  
    2020  command:</para>
    2121
    22 <screen os="b"><userinput>export LFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
     22<screen os="b"><userinput>export CLFS_HOST="`echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g'`"</userinput></screen>
    2323
    2424  <para os="c">Now you will need to set the target triplet for the target
     
    2828  the command using the method listed below:</para>
    2929
    30 <screen os="d"><userinput>export LFS_TARGET="{target triplet}"</userinput></screen>
     30<screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen>
    3131
    3232  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
     
    3535  case you have to exit and restart building later:</para>
    3636
    37 <screen os="f"><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc
    38 echo export LFS_TARGET=\""${LFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     37<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
     38echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    3939
    4040  <table os="g">
  • BOOK/cross-tools/x86_64-64/gcc-static.xml

    r51f1397 r07114c98  
    7979
    8080<screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    81     --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \
     81    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
    8282    --with-local-prefix=/tools --disable-nls --disable-shared \
    8383    --disable-threads --enable-languages=c</userinput></screen>
  • BOOK/cross-tools/x86_64/gcc-final.xml

    r51f1397 r07114c98  
    9595
    9696<screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    97     --target=${LFS_TARGET} --host=${LFS_HOST} \
     97    --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    9898    --with-local-prefix=/tools --disable-nls --enable-shared \
    9999    --enable-languages=c,c++ --enable-__cxa_atexit \
  • BOOK/cross-tools/x86_64/gcc-static.xml

    r51f1397 r07114c98  
    8181
    8282<screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
    83     --host=${LFS_HOST} --target=${LFS_TARGET} \
     83    --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    8484    --with-local-prefix=/tools --disable-nls --disable-shared \
    8585    --disable-threads --enable-languages=c</userinput></screen>
  • BOOK/cross-tools/x86_64/variables.xml

    r51f1397 r07114c98  
    2323  <para os="c">Now we will set our Target Triplet:</para>
    2424
    25 <screen os="d"><userinput>export LFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen>
     25<screen os="d"><userinput>export CLFS_TARGET="x86_64-unknown-linux-gnu"</userinput></screen>
    2626
    2727  <para os="m1">Now we will set our Target Triplet for 32 Bits:</para>
    2828
    29 <screen os="m2"><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
     29<screen os="m2"><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
    3030
    3131  <bridgehead renderas="sect4">Copy settings to Environment</bridgehead>
     
    3535    xpointer="xpointer(//*[@os='e'])"/>
    3636
    37 <screen os="f"><userinput>echo export LFS_HOST=\""${LFS_HOST}\"" &gt;&gt; ~/.bashrc
    38 echo export LFS_TARGET=\""${LFS_TARGET}\"" &gt;&gt; ~/.bashrc
    39 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     37<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
     38echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
     39echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    4040
    4141</sect1>
  • BOOK/final-preps/aboutlfs.xml

    r51f1397 r07114c98  
    99  <?dbhtml filename="aboutlfs.html"?>
    1010
    11   <title>About $LFS</title>
     11  <title>About $CLFS</title>
    1212
    1313  <para>Throughout this book, the environment variable <envar>LFS</envar> will
     
    1616  Check that the <envar>LFS</envar> variable is set up properly with:</para>
    1717
    18 <screen><userinput>echo $LFS</userinput></screen>
     18<screen><userinput>echo $CLFS</userinput></screen>
    1919
    2020  <para>Make sure the output shows the path to the CLFS partition's mount
     
    2626
    2727  <para>Having this variable set is beneficial in that commands such as
    28   <command>install -dv $LFS/tools</command> can be typed literally. The shell
    29   will automatically replace <quote>$LFS</quote> with
     28  <command>install -dv $CLFS/tools</command> can be typed literally. The shell
     29  will automatically replace <quote>$CLFS</quote> with
    3030  <quote>/mnt/lfs</quote> (or whatever the variable was set to) when it
    3131  processes the command line.</para>
    3232
    33   <para>If you haven't created the <filename class="directory">$LFS</filename>
     33  <para>If you haven't created the <filename class="directory">$CLFS</filename>
    3434  directory, do so at this time by issuing the following commands:</para>
    3535
    36 <screen><userinput>install -dv $LFS</userinput></screen>
     36<screen><userinput>install -dv $CLFS</userinput></screen>
    3737
    38   <para>Do not forget to check that <envar>$LFS</envar> is set whenever
     38  <para>Do not forget to check that <envar>$CLFS</envar> is set whenever
    3939  you leave and reenter the current working environment (as when doing a
    4040  <quote>su</quote> to <systemitem class="username">root</systemitem> or
  • BOOK/final-preps/addinguser.xml

    r51f1397 r07114c98  
    7979
    8080  <para>Grant <systemitem class="username">lfs</systemitem> full access to
    81   <filename class="directory">$LFS/cross-tools</filename> and
    82   <filename class="directory">$LFS/tools</filename> by making <systemitem
     81  <filename class="directory">$CLFS/cross-tools</filename> and
     82  <filename class="directory">$CLFS/tools</filename> by making <systemitem
    8383  class="username">lfs</systemitem> the directorys' owner:</para>
    8484
    85 <screen><userinput>chown -v lfs $LFS/tools
    86 chown -v lfs $LFS/cross-tools</userinput></screen>
     85<screen><userinput>chown -v lfs $CLFS/tools
     86chown -v lfs $CLFS/cross-tools</userinput></screen>
    8787
    8888  <para>If a separate working directory was created as suggested,
    8989  give user <systemitem class="username">lfs</systemitem> ownership of this directory:</para>
    9090
    91 <screen><userinput>chown -v lfs $LFS/sources</userinput></screen>
     91<screen><userinput>chown -v lfs $CLFS/sources</userinput></screen>
    9292
    9393  <para>Next, login as user <systemitem class="username">lfs</systemitem>.
  • BOOK/final-preps/creatingcrossdir.xml

    r51f1397 r07114c98  
    99  <?dbhtml filename="creatingcrossdir.html"?>
    1010
    11   <title>Creating the $LFS/cross-tools Directory</title>
     11  <title>Creating the $CLFS/cross-tools Directory</title>
    1212
    1313  <para>The cross-binutils and cross-compiler built in
    1414  <xref linkend="chapter-cross-tools"/> will be installed under
    15   <filename class="directory">$LFS/cross-tools</filename> to keep them
     15  <filename class="directory">$CLFS/cross-tools</filename> to keep them
    1616  separate from the host programs. The programs compiled here are
    1717  cross-tools and will not be a part of the final CLFS system or the
     
    2222  <systemitem class="username">root</systemitem>:</para>
    2323
    24 <screen><userinput>install -dv $LFS/cross-tools</userinput></screen>
     24<screen><userinput>install -dv $CLFS/cross-tools</userinput></screen>
    2525
    2626  <para>The next step is to create a <filename
     
    2929  Run this command as  <systemitem class="username">root</systemitem> as well:</para>
    3030
    31 <screen><userinput>ln -sv $LFS/cross-tools /</userinput></screen>
     31<screen><userinput>ln -sv $CLFS/cross-tools /</userinput></screen>
    3232
    3333  <para>The symlink isn't technically necessary (though the book's
    3434  instructions do assume its existence), but is there mainly for
    35   consistency (because /tools is also symlinked to $LFS/tools) and to
     35  consistency (because /tools is also symlinked to $CLFS/tools) and to
    3636  simplify the installation of the cross-compile tools.</para>
    3737
  • BOOK/final-preps/creatingtoolsdir.xml

    r51f1397 r07114c98  
    99  <?dbhtml filename="creatingtoolsdir.html"?>
    1010
    11   <title>Creating the $LFS/tools Directory</title>
     11  <title>Creating the $CLFS/tools Directory</title>
    1212
    1313  <para>All programs compiled in <xref linkend="chapter-temp-system"/>
    14   will be installed under <filename class="directory">$LFS/tools</filename>
     14  will be installed under <filename class="directory">$CLFS/tools</filename>
    1515  to keep them separate from the programs compiled in <xref
    1616  linkend="chapter-building-system"/>. The programs compiled here are
     
    2424  <systemitem class="username">root</systemitem>:</para>
    2525
    26 <screen><userinput>install -dv $LFS/tools</userinput></screen>
     26<screen><userinput>install -dv $CLFS/tools</userinput></screen>
    2727
    2828  <para>The next step is to create a <filename class="symlink">/tools</filename>
     
    3131  class="username">root</systemitem> as well:</para>
    3232
    33 <screen><userinput>ln -sv $LFS/tools /</userinput></screen>
     33<screen><userinput>ln -sv $CLFS/tools /</userinput></screen>
    3434
    3535  <note>
  • BOOK/final-preps/settingenviron.xml

    r51f1397 r07114c98  
    5656  the shell will always search the <envar>PATH</envar> when a program is to
    5757  be run. As such, the shell will find the newly compiled tools in
    58   <filename class="directory">$LFS/cross-tools</filename> as soon as they are
     58  <filename class="directory">$CLFS/cross-tools</filename> as soon as they are
    5959  available without remembering a previous version of the same program in a
    6060  different location.</para>
  • BOOK/final-system/common/stripping.xml

    r51f1397 r07114c98  
    3333    <para os="e">Then reenter it with:</para>
    3434
    35 <screen os="f" role="nodump"><userinput>chroot $LFS /tools/bin/env -i \
     35<screen os="f" role="nodump"><userinput>chroot $CLFS /tools/bin/env -i \
    3636    HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
    3737    PATH=/bin:/usr/bin:/sbin:/usr/sbin \
  • BOOK/final-system/multilib/glibc.xml

    r51f1397 r07114c98  
    7070    ../glibc-&glibc-version;/configure --prefix=/usr \
    7171    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    72     --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen>
     72    --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET32}</userinput></screen>
    7373
    7474    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/ppc64/glibc.xml

    r51f1397 r07114c98  
    7878    ../glibc-&glibc-version;/configure --prefix=/usr \
    7979    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    80     --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen>
     80    --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET32}</userinput></screen>
    8181
    8282    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/introduction/common/changelog.xml

    r51f1397 r07114c98  
    3838
    3939    <listitem>
     40      <para>July 1, 2006</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jim] - Updated the build to use CLFS in variables
     44                instead of LFS. Also change /mnt/lfs to /mnt/clfs.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    4050      <para>June 29, 2006</para>
    4151      <itemizedlist>
     
    13461356      <itemizedlist>
    13471357        <listitem>
    1348           <para>[jim] - Change the LFS_HOST and LFS_TARGET pages to prevent
     1358          <para>[jim] - Change the CLFS_HOST and CLFS_TARGET pages to prevent
    13491359          further build issues.</para>
    13501360        </listitem>
     
    14731483        </listitem>
    14741484        <listitem>
    1475           <para>[Matt Darcy] - Updated creation of $LFSHOME parameter to a less
     1485          <para>[Matt Darcy] - Updated creation of $CLFSHOME parameter to a less
    14761486                user error system. This change will will need to be validated by
    14771487                by other devs</para>
  • BOOK/introduction/sparc64/changelog.xml

    r51f1397 r07114c98  
    8080           be correct at this point and point to /cross-tools first.
    8181           Also, we've already set up a variable for AS and LD - no need to
    82            use \${LFS_TARGET}-{as,ld}.</para>
     82           use \${CLFS_TARGET}-{as,ld}.</para>
    8383        </listitem>
    8484      </itemizedlist>
  • BOOK/introduction/x86_64/changelog.xml

    r51f1397 r07114c98  
    9090      <itemizedlist>
    9191        <listitem>
    92           <para>[jim] - Fixed type on kernel page. Had TARGET should of been LFS_TARGET.</para>
     92          <para>[jim] - Fixed type on kernel page. Had TARGET should of been CLFS_TARGET.</para>
    9393        </listitem>
    9494      </itemizedlist>
  • BOOK/materials/common/introduction.xml

    r51f1397 r07114c98  
    3030  that is conveniently available throughout the entire build. A working
    3131  directory is also required to unpack the sources and build them.
    32   <filename class="directory">$LFS/sources</filename> can be used both
     32  <filename class="directory">$CLFS/sources</filename> can be used both
    3333  as the place to store the tarballs and patches and as a working
    3434  directory. By using this directory, the required elements will be
     
    4040  starting the download session:</para>
    4141
    42 <screen><userinput>mkdir -v $LFS/sources</userinput></screen>
     42<screen><userinput>mkdir -v $CLFS/sources</userinput></screen>
    4343
    4444  <para>Make this directory writable and sticky. <quote>Sticky</quote>
     
    4848  sticky modes:</para>
    4949
    50 <screen><userinput>chmod -v a+wt $LFS/sources</userinput></screen>
     50<screen><userinput>chmod -v a+wt $CLFS/sources</userinput></screen>
    5151
    5252</sect1>
  • BOOK/partitioning/common/mounting.xml

    r51f1397 r07114c98  
    2626  running:</para>
    2727
    28 <screen><userinput>mkdir -pv $LFS
    29 mount -v /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
     28<screen><userinput>mkdir -pv $CLFS
     29mount -v /dev/<replaceable>[xxx]</replaceable> $CLFS</userinput></screen>
    3030
    3131  <para>Replace <replaceable>[xxx]</replaceable> with the designation of
     
    3636  class="directory">/usr</filename>), mount them using:</para>
    3737
    38 <screen><userinput>mkdir -pv $LFS
    39 mount -v /dev/<replaceable>[xxx]</replaceable> $LFS
    40 mkdir -v $LFS/usr
    41 mount -v /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
     38<screen><userinput>mkdir -pv $CLFS
     39mount -v /dev/<replaceable>[xxx]</replaceable> $CLFS
     40mkdir -v $CLFS/usr
     41mount -v /dev/<replaceable>[yyy]</replaceable> $CLFS/usr</userinput></screen>
    4242
    4343  <para>Replace <replaceable>[xxx]</replaceable> and
  • BOOK/prologue/common/typography.xml

    r51f1397 r07114c98  
    4040  and websites.</para>
    4141
    42 <screen role="nodump"><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"
     42<screen role="nodump"><userinput>cat &gt; $CLFS/etc/group &lt;&lt; "EOF"
    4343<literal>root:x:0:
    4444bin:x:1:
     
    4848  <para>This format is used when creating configuration files. The first
    4949  command tells the system to create the file
    50   <filename>$LFS/etc/group</filename> from whatever is typed on the
     50  <filename>$CLFS/etc/group</filename> from whatever is typed on the
    5151  following lines until the sequence end of file (EOF) is encountered.
    5252  Therefore, this entire section is generally typed as seen.</para>
  • BOOK/temp-system/64/binutils.xml

    r51f1397 r07114c98  
    4545<screen os="j"><userinput>CC="${CC} ${BUILD64}" \
    4646     ../binutils-&binutils-version;/configure --prefix=/tools \
    47      --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     47     --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    4848     --disable-nls --enable-shared --enable-64-bit-bfd \
    4949     --disable-multilib</userinput></screen>
  • BOOK/temp-system/64/ncurses.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    30    ./configure --prefix=/tools --with-shared --build=${LFS_HOST} \
    31    --host=${LFS_TARGET} --without-debug --without-ada \
     30   ./configure --prefix=/tools --with-shared --build=${CLFS_HOST} \
     31   --host=${CLFS_TARGET} --without-debug --without-ada \
    3232   --enable-overwrite --with-build-cc=gcc</userinput></screen>
    3333
  • BOOK/temp-system/common/bash.xml

    r51f1397 r07114c98  
    3232
    3333<screen os="h"><userinput>./configure --prefix=/tools \
    34     --build=${LFS_HOST} --host=${LFS_TARGET} \
     34    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3535    --without-bash-malloc --cache-file=config.cache</userinput></screen>
    3636
  • BOOK/temp-system/common/binutils.xml

    r51f1397 r07114c98  
    4444
    4545<screen os="j"><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
    46     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     46    --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    4747    --disable-nls --enable-shared --disable-multilib</userinput></screen>
    4848
  • BOOK/temp-system/common/coreutils.xml

    r51f1397 r07114c98  
    3333
    3434<screen os="be"><userinput>./configure --prefix=/tools --cache-file=config.cache \
    35     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     35    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3636
    3737    <para os="bf">Compile the package:</para>
  • BOOK/temp-system/common/diffutils.xml

    r51f1397 r07114c98  
    2626
    2727<screen os="b"><userinput>./configure --prefix=/tools \
    28      --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     28     --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    2929
    3030    <para os="c">Compile the package:</para>
  • BOOK/temp-system/common/findutils.xml

    r51f1397 r07114c98  
    3333
    3434<screen os="ac"><userinput>./configure --prefix=/tools \
    35      --build=${LFS_HOST} --host=${LFS_TARGET} \
     35     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3636     --cache-file=config.cache</userinput></screen>
    3737
  • BOOK/temp-system/common/gawk.xml

    r51f1397 r07114c98  
    2626
    2727<screen os="b"><userinput>./configure --prefix=/tools \
    28     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     28    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    2929
    3030    <para os="c">Compile the package:</para>
  • BOOK/temp-system/common/gettext.xml

    r51f1397 r07114c98  
    3232
    3333<screen os="d"><userinput>./configure --prefix=/tools \
    34      --build=${LFS_HOST} --host=${LFS_TARGET} \
     34     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3535     --disable-shared --cache-file=config.cache</userinput></screen>
    3636
  • BOOK/temp-system/common/grep.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="ca"><userinput>./configure --prefix=/tools \
    30      --build=${LFS_HOST} --host=${LFS_TARGET} \
     30     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3131     --disable-perl-regexp</userinput></screen>
    3232
  • BOOK/temp-system/common/gzip.xml

    r51f1397 r07114c98  
    2727
    2828<screen os="ab"><userinput>cp -v configure{,.orig}
    29 sed -e "s@nm conftest@${LFS_TARGET}-&amp;@" configure.orig > configure</userinput></screen>
     29sed -e "s@nm conftest@${CLFS_TARGET}-&amp;@" configure.orig > configure</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    3434
    3535<screen os="ac"><userinput>./configure --prefix=/tools \
    36      --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     36     --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3737
    3838    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/common/introduction.xml

    r51f1397 r07114c98  
    1919  <para>The tools in this chapter are cross-compiled using the toolchain in
    2020  /cross-tools and will be installed under the
    21   <filename class="directory">$LFS/tools</filename> directory to keep
     21  <filename class="directory">$CLFS/tools</filename> directory to keep
    2222  them separate from the files installed in <xref
    2323  linkend="chapter-building-system"/> and the host production directories.
     
    2828  variable is set up properly:</para>
    2929
    30 <screen><userinput>echo $LFS</userinput></screen>
     30<screen><userinput>echo $CLFS</userinput></screen>
    3131
    3232  <para>Make sure the output shows the path to the CLFS partition's mount
  • BOOK/temp-system/common/make.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="aa"><userinput>./configure --prefix=/tools \
    30      --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30     --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/common/ncurses.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="b"><userinput>./configure --prefix=/tools --with-shared \
    30     --build=${LFS_HOST} --host=${LFS_TARGET} \
     30    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3131    --without-debug --without-ada \
    3232    --enable-overwrite --with-build-cc=gcc</userinput></screen>
  • BOOK/temp-system/common/patch.xml

    r51f1397 r07114c98  
    2626
    2727<screen os="b"><userinput>./configure --prefix=/tools \
    28     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     28    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    2929
    3030    <para os="c">Compile the package:</para>
  • BOOK/temp-system/common/sed.xml

    r51f1397 r07114c98  
    2626
    2727<screen os="b"><userinput>./configure --prefix=/tools \
    28      --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     28     --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    2929
    3030    <para os="c">Compile the package:</para>
  • BOOK/temp-system/common/tar.xml

    r51f1397 r07114c98  
    3333
    3434<screen os="b"><userinput>./configure --prefix=/tools \
    35      --build=${LFS_HOST} --host=${LFS_TARGET} \
     35     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3636     --cache-file=config.cache</userinput></screen>
    3737
  • BOOK/temp-system/common/texinfo.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="b"><userinput>./configure --prefix=/tools \
    30     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/common/variables.xml

    r51f1397 r07114c98  
    1414  and linkers:</para>
    1515
    16 <screen><userinput>export CC="${LFS_TARGET}-gcc"
    17 export CXX="${LFS_TARGET}-g++"
    18 export AR="${LFS_TARGET}-ar"
    19 export AS="${LFS_TARGET}-as"
    20 export RANLIB="${LFS_TARGET}-ranlib"
    21 export LD="${LFS_TARGET}-ld"
    22 export STRIP="${LFS_TARGET}-strip"</userinput></screen>
     16<screen><userinput>export CC="${CLFS_TARGET}-gcc"
     17export CXX="${CLFS_TARGET}-g++"
     18export AR="${CLFS_TARGET}-ar"
     19export AS="${CLFS_TARGET}-as"
     20export RANLIB="${CLFS_TARGET}-ranlib"
     21export LD="${CLFS_TARGET}-ld"
     22export STRIP="${CLFS_TARGET}-strip"</userinput></screen>
    2323
    2424  <para>Then add the build variables to <filename>~/.bashrc</filename> to
  • BOOK/temp-system/mips64-64/gcc.xml

    r51f1397 r07114c98  
    101101<screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    102102    ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \
    103     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     103    --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    104104    --with-local-prefix=/tools --enable-long-long --with-abi=64 \
    105105    --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \
  • BOOK/temp-system/mips64/gcc.xml

    r51f1397 r07114c98  
    101101<screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    102102    ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \
    103     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} --with-abi=64 \
     103    --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} --with-abi=64 \
    104104    --with-local-prefix=/tools --enable-long-long --enable-c99 \
    105105    --enable-shared --enable-threads=posix --enable-__cxa_atexit \
  • BOOK/temp-system/multilib/bash.xml

    r51f1397 r07114c98  
    3737<screen os="h"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    3838   ./configure --prefix=/tools \
    39    --build=${LFS_HOST} --host=${LFS_TARGET} \
     39   --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    4040   --without-bash-malloc --cache-file=config.cache</userinput></screen>
    4141
  • BOOK/temp-system/multilib/binutils.xml

    r51f1397 r07114c98  
    5454     ../binutils-&binutils-version;/configure --prefix=/tools \
    5555     --libdir=/tools/lib64 --with-lib-path=/tools/lib \
    56      --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     56     --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    5757     --disable-nls --enable-shared --enable-64-bit-bfd</userinput></screen>
    5858
  • BOOK/temp-system/multilib/coreutils.xml

    r51f1397 r07114c98  
    3737<screen os="be"><userinput>CC="${CC} ${BUILD64}" \
    3838   ./configure --prefix=/tools --cache-file=config.cache \
    39    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     39   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    4040
    4141    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/diffutils.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    30   --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30  --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/findutils.xml

    r51f1397 r07114c98  
    3636
    3737<screen os="ac"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    38    --build=${LFS_HOST} --host=${LFS_TARGET} --cache-file=config.cache</userinput></screen>
     38   --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
    3939
    4040    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/gawk.xml

    r51f1397 r07114c98  
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" \
    3030   ./configure --prefix=/tools \
    31    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     31   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3232
    3333    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/gettext.xml

    r51f1397 r07114c98  
    3737<screen os="d"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    3838   ./configure --prefix=/tools \
    39    --build=${LFS_HOST} --host=${LFS_TARGET} --disable-shared \
     39   --build=${CLFS_HOST} --host=${CLFS_TARGET} --disable-shared \
    4040   --cache-file=config.cache</userinput></screen>
    4141
  • BOOK/temp-system/multilib/grep.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="ca"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    30    --build=${LFS_HOST} --host=${LFS_TARGET} \
     30   --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3131   --disable-perl-regexp</userinput></screen>
    3232
  • BOOK/temp-system/multilib/gzip.xml

    r51f1397 r07114c98  
    3636
    3737<screen os="ac"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    38   --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     38  --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3939
    4040    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/make.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="aa"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    30    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/ncurses.xml

    r51f1397 r07114c98  
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    3030   ./configure --prefix=/tools --with-shared \
    31    --build=${LFS_HOST} --host=${LFS_TARGET} \
     31   --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3232   --without-debug --without-ada \
    3333   --enable-overwrite --with-build-cc=gcc \
  • BOOK/temp-system/multilib/patch.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    30     --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/sed.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    30    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/multilib/tar.xml

    r51f1397 r07114c98  
    3636
    3737<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    38    --build=${LFS_HOST} --host=${LFS_TARGET} \
     38   --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    3939   --cache-file=config.cache</userinput></screen>
    4040
  • BOOK/temp-system/multilib/texinfo.xml

    r51f1397 r07114c98  
    2828
    2929<screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    30    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
     30   --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/temp-system/x86/gcc.xml

    r51f1397 r07114c98  
    8989
    9090<screen os="ck"><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
    91     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     91    --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    9292    --with-local-prefix=/tools --enable-long-long --enable-c99 \
    9393    --enable-shared --enable-threads=posix --enable-__cxa_atexit \
  • BOOK/temp-system/x86_64-64/gcc.xml

    r51f1397 r07114c98  
    101101<screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    102102    ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \
    103     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     103    --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    104104    --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \
    105105    --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \
  • BOOK/temp-system/x86_64/gcc.xml

    r51f1397 r07114c98  
    101101<screen os="dc"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
    102102    ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \
    103     --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
     103    --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} \
    104104    --with-local-prefix=/tools --enable-long-long --enable-c99 \
    105105    --enable-shared --enable-threads=posix --enable-__cxa_atexit \
  • BOOK/the-end/reboot.xml

    r51f1397 r07114c98  
    3737  <para>Then unmount the virtual file systems:</para>
    3838
    39 <screen><userinput>umount $LFS/dev/pts
    40 umount $LFS/dev/shm
    41 umount $LFS/dev
    42 umount $LFS/proc
    43 umount $LFS/sys</userinput></screen>
     39<screen><userinput>umount $CLFS/dev/pts
     40umount $CLFS/dev/shm
     41umount $CLFS/dev
     42umount $CLFS/proc
     43umount $CLFS/sys</userinput></screen>
    4444
    4545  <para>Unmount the CLFS file system itself:</para>
    4646
    47 <screen><userinput>umount $LFS</userinput></screen>
     47<screen><userinput>umount $CLFS</userinput></screen>
    4848
    4949  <para>If multiple partitions were created, unmount the other
    5050  partitions before unmounting the main one, like this:</para>
    5151
    52 <screen><userinput>umount $LFS/usr
    53 umount $LFS/home
    54 umount $LFS</userinput></screen>
     52<screen><userinput>umount $CLFS/usr
     53umount $CLFS/home
     54umount $CLFS</userinput></screen>
    5555
    5656  <para>Now, reboot the system with:</para>
Note: See TracChangeset for help on using the changeset viewer.