Changeset 8520e58 in clfs-embedded for BOOK


Ignore:
Timestamp:
Nov 23, 2006, 5:44:58 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
master
Children:
83ea4ad
Parents:
3466794
Message:

Text Updates for CLFS Embedded

Location:
BOOK
Files:
7 added
16 edited
1 moved

Legend:

Unmodified
Added
Removed
  • BOOK/beyond-clfs3/common/dropbear.xml

    r3466794 r8520e58  
    3131    <para os="a">Configure dropbear:</para>
    3232
    33 <screen os="b"><userinput>./configure --prefix=/usr
    34 cp -v options.h options.h.backup
    35 sed -e "s@/dev/random@/dev/urandom@" options.h.backup > options.h
    36 </userinput></screen>
     33<screen os="b"><userinput>CC="${CC} ${BUILD}" ./configure --prefix=/usr</userinput></screen>
    3734
    38     <note os="c">
     35    <para os="c">Now we will utilize /dev/urandom instead of /dev/random. To allow
     36    this to be utilized we use the following ed:</para>
     37
     38<screen os="d"><userinput>cp -v options.h options.h.backup
     39sed -e "s@/dev/random@/dev/urandom@" options.h.backup > options.h</userinput></screen>
     40
     41    <note os="e">
    3942      <para>We are just telling dropbear to use the default configuration.
    4043      For those for more adventureous, edit options.h to further configure dropbear.</para>
    4144    </note>
    4245
    43     <para os="d">Compile the package:</para>
     46    <para os="f">Compile the package:</para>
    4447
    45 <screen os="e"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>
     48<screen os="g"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"</userinput></screen>
    4649
    47     <para os="f">Install the package:</para>
     50    <para os="h">Install the package:</para>
    4851
    49 <screen os="g"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install DESTDIR=${CLFS}
     52<screen os="i"><userinput>make MULTI=1 PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install DESTDIR=${CLFS}
    5053ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/sbin/dropbear
    5154ln -svf ../../usr/bin/dropbearmulti ${CLFS}/usr/sbin/dbclient
  • BOOK/beyond-clfs3/common/iptables.xml

    r3466794 r8520e58  
    2828    <para os="a">Compile the package:</para>
    2929
    30 <screen os="b"><userinput>make CC="${CC} -Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
     30<screen os="b"><userinput>make CC="${CC} ${BUILD} -Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
    3131   LIBDIR=/lib BINDIR=/sbin</userinput></screen>
    3232
    3333    <para os="c">Install the package:</para>
    3434
    35 <screen os="d"><userinput>make CC="${CC} -Os" LD=${LD} DO_MULTI=1 PREFIX=/usr \
     35<screen os="d"><userinput>make DO_MULTI=1 PREFIX=/usr \
    3636   LIBDIR=/lib BINDIR=/sbin install DESTDIR=${CLFS}</userinput></screen>
    3737
  • BOOK/cross-tools/common/toolchain.xml

    r3466794 r8520e58  
    66]>
    77
    8 <sect1 id="ch-system-variables">
    9   <?dbhtml filename="variables.html"?>
     8<sect1 id="ch-cross-tools-toolchain">
     9  <?dbhtml filename="toolchain.html"?>
    1010
    11   <title>Build Variables</title>
     11  <title>ToolChain Variables</title>
    1212
    13   <para>Setup target-specific variables for the compiler
    14   and linkers:</para>
     13  <para>We set this up just for uClibc build, we will remove
     14  these after we that build. We will reitroduce them in
     15  then Final System build:</para>
    1516
    16 <screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"
    17 <literal>export CC="${CLFS_TARGET}-gcc"
     17<screen><userinput><literal>export CC="${CLFS_TARGET}-gcc"
    1818export CXX="${CLFS_TARGET}-g++"
    1919export AR="${CLFS_TARGET}-ar"
    2020export AS="${CLFS_TARGET}-as"
     21export LD="${CLFS_TARGET}-ld"
    2122export RANLIB="${CLFS_TARGET}-ranlib"
    22 export LD="${CLFS_TARGET}-ld"
    23 export STRIP="${CLFS_TARGET}-strip"</literal>
    24 EOF
    25 source ~/.bashrc
    26 </userinput></screen>
     23export STRIP="${CLFS_TARGET}-strip"</literal></userinput></screen>
    2724
    2825</sect1>
  • BOOK/cross-tools/mips-chapter.xml

    r3466794 r8520e58  
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/>
    2122  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/uclibc.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/clear-toolchain.xml"/>
    2224  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
    2325
  • BOOK/cross-tools/mips/uclibc.xml

    r3466794 r8520e58  
    9595  xpointer="xpointer(//*[@os='n'])"/>
    9696
    97 <screen os="o"><userinput>make TARGET_ARCH=mips</userinput></screen>
     97<screen os="o"><userinput>make CC="${CC} ${BUILD}" TARGET_ARCH=mips</userinput></screen>
    9898
    9999  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/x86-chapter.xml

    r3466794 r8520e58  
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/>
    2122  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/uclibc.xml"/>
     23  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/clear-toolchain.xml"/>
    2224  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
    2325
  • BOOK/cross-tools/x86/uclibc.xml

    r3466794 r8520e58  
    8282    <para os="n">Compile the package:</para>
    8383
    84 <screen os="o"><userinput>make TARGET_ARCH=i386</userinput></screen>
     84<screen os="o"><userinput>make CC="${CC} ${BUILD}" TARGET_ARCH=i386</userinput></screen>
    8585
    8686   <para os="p">The uClibc build system creates symlinks in its
  • BOOK/final-system/common/busybox.xml

    r3466794 r8520e58  
    5555    <para os="f">Compile the package:</para>
    5656
    57 <screen os="g"><userinput>make CROSS="${CLFS_TARGET}-" PREFIX="${CLFS}" busybox</userinput></screen>
     57<screen os="g"><userinput>make CROSS="${CLFS_TARGET}-" PREFIX="${CLFS}"  EXTRA_CFLAGS="${BUILD}" busybox</userinput></screen>
    5858
    5959    <para os="h">Install the package:</para>
  • BOOK/final-system/mips-chapter.xml

    r3466794 r8520e58  
    1414  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
    1515  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/>
     16  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/>
    1617  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/busybox.xml"/>
    1718  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
    1820
    1921</chapter>
  • BOOK/final-system/x86-chapter.xml

    r3466794 r8520e58  
    1414  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
    1515  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/pkgmgt.xml"/>
     16  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/toolchain.xml"/>
    1617  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/busybox.xml"/>
    1718  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/iana-etc.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/zlib.xml"/>
    1820
    1921</chapter>
  • BOOK/index.xml

    r3466794 r8520e58  
    2727  <copyright id="copyright">
    2828    <year>2005&ndash;2006</year>
    29     <holder>Jim Gifford &amp; Ryan Oliver &amp; Maarten Lankhorst</holder>
     29    <holder>Jim Gifford,Ryan Oliver &amp; Maarten Lankhorst</holder>
    3030  </copyright>
    3131
  • BOOK/materials/common/packages.xml

    r3466794 r8520e58  
    8787    </varlistentry>
    8888
     89    <varlistentry>
     90      <term>Zlib (&zlib-version;) - <token>&zlib-size;</token>:</term>
     91      <listitem>
     92        <para>Home page: <ulink url="&zlib-home;"/></para>
     93        <para>Download: <ulink url="&zlib-url;"/></para>
     94        <para>MD5 sum: <literal>&zlib-md5;</literal></para>
     95      </listitem>
     96    </varlistentry>
     97
    8998  </variablelist>
    9099
  • BOOK/materials/common/patches.xml

    r3466794 r8520e58  
    8282    </varlistentry>
    8383
     84    <varlistentry>
     85      <term>Zlib fPIC Patch - <token>&zlib-fpic-patch-size;</token>:</term> <listitem>
     86        <para>Download: <ulink
     87        url="&patches-root;&zlib-fpic-patch;"/></para>
     88        <para>MD5 sum: <literal>&zlib-fpic-patch-md5;</literal></para>
     89      </listitem>
     90    </varlistentry>
     91
    8492  </variablelist>
    8593
  • BOOK/mips-index.xml

    r3466794 r8520e58  
    5858
    5959    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="beyond-clfs3/mips-chapter.xml"/>
     60    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cleanup/chapter.xml"/>
    6061    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="the-end/chapter.xml"/>
    6162
  • BOOK/packages.ent

    r3466794 r8520e58  
    5555<!ENTITY uclibc-home "http://uclibc.org/">
    5656
     57<!ENTITY zlib-version "1.2.3">
     58<!ENTITY zlib-size "485 KB">
     59<!ENTITY zlib-url "http://www.zlib.net/zlib-&zlib-version;.tar.gz">
     60<!ENTITY zlib-md5 "debc62758716a169df9f62e6ab2bc634">
     61<!ENTITY zlib-home "http://www.zlib.net/">
     62
    5763<!-- Beyond CLFS packages -->
    5864
  • BOOK/patches.ent

    r3466794 r8520e58  
    3333<!ENTITY gcc-uclibc-patch-size "144 KB">
    3434
     35<!ENTITY zlib-fpic-patch "zlib-&zlib-version;-fPIC-1.patch">
     36<!ENTITY zlib-fpic-patch-md5 "545d60b20bfde6f53023de44438cef59">
     37<!ENTITY zlib-fpic-patch-size "3.2 KB">
     38
    3539<!-- MIPS Bootloader Patches -->
    3640
  • BOOK/x86-index.xml

    r3466794 r8520e58  
    5858
    5959    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="beyond-clfs3/x86-chapter.xml"/>
     60    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cleanup/chapter.xml"/>
    6061    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="the-end/chapter.xml"/>
    6162
Note: See TracChangeset for help on using the changeset viewer.