Changeset 9dc5852 in clfs-embedded for BOOK/cross-tools/x86


Ignore:
Timestamp:
Aug 16, 2008, 4:32:01 AM (16 years ago)
Author:
Maarten Lankhorst <m.b.lankhorst@…>
Branches:
master
Children:
56d186f
Parents:
7884e98
Message:

Get rid of CLFS_HOST

File:
1 edited

Legend:

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

    r7884e98 r9dc5852  
    1515  <para os="a">During the building of the cross-compile tools you will need to
    1616  set a few variables that will be dependent on your particular needs.
    17   The first variable will be the triplet of the <envar>HOST</envar> machine.
    18   You will need to set the <envar>CHOST</envar> triplet to match your
    19   particular needs. To set this information you can issue the following
    20   command:</para>
    21 
    22 <screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | \
    23     sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
    24 
    25   <para os="c">Now you will need to set the target triplet for the target
     17  You will need to set the target triplet for the target
    2618  architecture. You can do this by running the same command as above, just
    2719  running it on the target machine. If you can't run the command on the
     
    3123<screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen>
    3224
    33   <para os="e">Now we will add these to <filename>~/.bashrc</filename>, just in
     25  <para os="e">Now we will add this to <filename>~/.bashrc</filename>, just in
    3426  case you have to exit and restart building later:</para>
    3527
    36 <screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
    37 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
     28<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc</userinput></screen>
    3829
    3930  <table os="g">
Note: See TracChangeset for help on using the changeset viewer.