aboutsummaryrefslogtreecommitdiffstats
path: root/chapter04
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2008-12-05 20:46:02 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2008-12-05 20:46:02 +0000
commit4e82d4787a775438ce10fc7e3ccefe9fcd23ccd0 (patch)
tree1bbf7f140bdabeb1748d651a6885ec9f10c4e7ad /chapter04
parent6e886330cf157dc71e6a0a1fca410d7005683167 (diff)
Bring in DIY's next generation build method. Move GRUB to chapter 8.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8755 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter04')
-rw-r--r--chapter04/settingenviron.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml
index e605fea6e..485269e3b 100644
--- a/chapter04/settingenviron.xml
+++ b/chapter04/settingenviron.xml
@@ -42,8 +42,9 @@ EOF</userinput></screen>
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
+LFS_TGT=$(uname -m)-lfs-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
-export LFS LC_ALL PATH</literal>
+export LFS LC_ALL LFS_TGT PATH</literal>
EOF</userinput></screen>
<para>The <command>set +h</command> command turns off
@@ -76,6 +77,11 @@ EOF</userinput></screen>
<quote>POSIX</quote> or <quote>C</quote> (the two are equivalent) ensures that
everything will work as expected in the chroot environment.</para>
+ <para>The <envar>LFS_TGT</envar> variable sets a non-default, but compatible machine
+ description for use when building our cross compiler and linker and when cross
+ compiling our temporary toolchain. More information is contained in
+ <xref linkend="ch-tools-toolchaintechnotes" role=""/>.</para>
+
<para>By putting <filename class="directory">/tools/bin</filename> ahead of the
standard <envar>PATH</envar>, all the programs installed in <xref
linkend="chapter-temporary-tools"/> are picked up by the shell immediately after