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


Ignore:
Timestamp:
Oct 24, 2013, 7:53:51 AM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
7f1f997
Parents:
293bc69
git-author:
Andrew Bradford <andrew@…> (10/24/13 07:49:13)
git-committer:
Andrew Bradford <andrew@…> (10/24/13 07: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/arm/variables.xml

    r293bc69 r5470f08  
    1919  availability, and (if available) the type of floating point hardware. If you
    2020  do not know what values can be chosen for each of these, you can use the
    21   tables at the bottom of this page as a reference.</para>
     21  tables as a reference.</para>
    2222
    2323  <para os="a1">If your processor is an ARM9, good choices include: triplet of
     
    3434  href="../common/variables.xml"
    3535  xpointer="xpointer(//*[@os='b'])"/>
    36 
    37   <para os="c">Now set the architecture of the CPU:</para>
    38 
    39 <screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>
    40 
    41   <para os="e">Choose the ARM architecture (see table below):</para>
    42 
    43 <screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"</userinput></screen>
    44 
    45   <para os="f1">If your target CPU has hardware floating point support (not all
    46   ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or
    47   "softfp".  Use "softfp" if you need to integrate binaries compiled with
    48   "soft".  Use "hard" if you don't.  If your target CPU does not have hard
    49   floating point support, set the following CLFS_FLOAT vairable to
    50   "soft".</para>
    51 
    52 <screen os="f2"><userinput>export CLFS_FLOAT="<replaceable>[hard, softfp, or soft]"</replaceable></userinput></screen>
    53 
    54   <para os="f3">If you chose either "hard" or "softfp" for CLFS_FLOAT, you now
    55   need to set which floating point hardware is actually included (see table below)
    56   with your ARM CPU:</para>
    57 
    58 <screen os="f4"><userinput>export CLFS_FPU="<replaceable>[fpu version]</replaceable>"</userinput></screen>
    59 
    60   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    61   href="../common/variables.xml"
    62   xpointer="xpointer(//*[@os='g'])"/>
    63 
    64 <screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    65 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    66 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    67 echo export CLFS_ARM_ARCH=\""${CLFS_ARM_ARCH}\"" &gt;&gt; ~/.bashrc
    68 echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" &gt;&gt; ~/.bashrc
    69 echo export CLFS_FPU=\""${CLFS_FPU}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    7036
    7137  <table os="i">
     
    10975  </table>
    11076
     77  <para os="c">Now set the architecture of the CPU:</para>
     78
     79<screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>
     80
     81  <para os="e">Choose the ARM architecture (see table below):</para>
     82
     83<screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"</userinput></screen>
     84
    11185  <table os="j">
    11286    <title>ARM Archiecture Choices</title>
     
    146120    </tgroup>
    147121  </table>
     122
     123  <para os="f1">If your target CPU has hardware floating point support (not all
     124  ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or
     125  "softfp".  Use "softfp" if you need to integrate binaries compiled with
     126  "soft".  Use "hard" if you don't.  If your target CPU does not have hard
     127  floating point support, set the following CLFS_FLOAT vairable to
     128  "soft".</para>
     129
     130<screen os="f2"><userinput>export CLFS_FLOAT="<replaceable>[hard, softfp, or soft]"</replaceable></userinput></screen>
     131
     132  <para os="f3">If you chose either "hard" or "softfp" for CLFS_FLOAT, you now
     133  need to set which floating point hardware is actually included (see table below)
     134  with your ARM CPU:</para>
     135
     136<screen os="f4"><userinput>export CLFS_FPU="<replaceable>[fpu version]</replaceable>"</userinput></screen>
    148137
    149138  <table os="j">
     
    190179  </table>
    191180
     181  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     182  href="../common/variables.xml"
     183  xpointer="xpointer(//*[@os='g'])"/>
     184
     185<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
     186echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
     187echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
     188echo export CLFS_ARM_ARCH=\""${CLFS_ARM_ARCH}\"" &gt;&gt; ~/.bashrc
     189echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" &gt;&gt; ~/.bashrc
     190echo export CLFS_FPU=\""${CLFS_FPU}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     191
    192192</sect1>
Note: See TracChangeset for help on using the changeset viewer.