Changeset e269c28 in clfs-embedded


Ignore:
Timestamp:
Nov 21, 2010, 6:32:47 AM (14 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.

Location:
BOOK
Files:
3 edited

Legend:

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

    r8235a08 re269c28  
    4949  xpointer="xpointer(//*[@os='g'])"/>
    5050
    51 <screen os="h"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
     51<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" &gt;&gt; ~/.bashrc
     52echo export CLFS_TARGET=\""${CLFS_TARGET}\"" &gt;&gt; ~/.bashrc
    5253echo export CLFS_ARCH=\""${CLFS_ARCH}\"" &gt;&gt; ~/.bashrc
    5354echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" &gt;&gt; ~/.bashrc
  • 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
  • BOOK/introduction/common/changelog.xml

    r8235a08 re269c28  
    3636    </listitem>
    3737-->
     38
     39    <listitem>
     40      <para>November 21, 2010</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Make sure we change CLFS_HOST before we set it.
     44          Also make sure that CLFS_HOST gets saved to the bashrc.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
    3848
    3949    <listitem>
Note: See TracChangeset for help on using the changeset viewer.