Changeset e269c28 in clfs-embedded for BOOK/cross-tools/x86


Ignore:
Timestamp:
Nov 21, 2010, 6:32:47 AM (13 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
6a5e076
Parents:
8235a08
Message:

Make sure that we change CLFS_HOST before we set it and also make sure that CLFS_HOST gets saved to the bashrc.

File:
1 edited

Legend:

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

    r8235a08 re269c28  
    2121  the command using the method listed below:</para>
    2222
    23 <screen os="b"><userinput>export CLFS_HOST="${MACHTYPE}"
     23<screen os="b"><userinput>export CLFS_HOST=$(echo ${MACHTYPE} | sed "s/-[^-]*/-cross/")
    2424export CLFS_TARGET="{target triplet}"</userinput></screen>
    2525
     
    3636  case you have to exit and restart building later:</para>
    3737
    38 <screen os="h"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
     38<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
     39echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    3940echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    4041echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc
Note: See TracChangeset for help on using the changeset viewer.