Changeset 2149

Show
Ignore:
Timestamp:
07/17/06 04:05:55 (2 years ago)
Author:
jciccone
Message:

Changed the command that sets CLFS_HOST to support more then just -unknown- and -pc-

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/clfs-2.0/BOOK/cross-tools/arm/variables.xml

    r2080 r2149  
    2020  command:</para> 
    2121 
    22 <screen os="b"><userinput>export CLFS_HOST="$(echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g')"</userinput></screen> 
     22<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 
    2323 
    2424  <para os="c">Now you will need to set the target triplet for the target 
  • trunk/BOOK/cross-tools/x86/variables.xml

    r2015 r2149  
    2020  command:</para> 
    2121 
    22 <screen os="b"><userinput>export CLFS_HOST="$(echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g')"</userinput></screen> 
     22<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen> 
    2323 
    2424  <para os="c">Now you will need to set the target triplet for the target