Changeset 5470f08 in clfs-embedded for BOOK/cross-tools/x86


Ignore:
Timestamp:
Oct 24, 2013, 2:53:51 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
7f1f997
Parents:
293bc69
git-author:
Andrew Bradford <andrew@…> (10/24/13 14:49:13)
git-committer:
Andrew Bradford <andrew@…> (10/24/13 14:53:51)
Message:

variables: Put tables near where used

Rather than all at the bottom, which was really annoying.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/x86/variables.xml

    r293bc69 r5470f08  
    1717  You will need to set the target triplet for the target architecture, and the
    1818  CPU type. If you do not know what triplet or CPU type you want,
    19   you can use the table at the bottom of this page as a reference. Set
     19  you can use the table as a reference. Set
    2020  the command using the method listed below:</para>
    2121
     
    2323export CLFS_TARGET=<replaceable>[target triplet]</replaceable>
    2424export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen>
    25 
    26   <para os="c">Now we will set the architecture of the CPU based
    27   on the target triplet provided above:</para>
    28 
    29 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
    30 
    31   <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
    32   case you have to exit and restart building later:</para>
    33 
    34 <screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    35 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    36 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    37 echo export CLFS_CPU=\""${CLFS_CPU}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    3825
    3926  <table os="i">
     
    9481  </table>
    9582
     83  <para os="c">Now we will set the architecture of the CPU based
     84  on the target triplet provided above:</para>
     85
     86<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
     87
     88  <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
     89  case you have to exit and restart building later:</para>
     90
     91<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
     92echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
     93echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
     94echo export CLFS_CPU=\""${CLFS_CPU}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     95
    9696</sect1>
Note: See TracChangeset for help on using the changeset viewer.