r2028 - / branches/clfs-2.0/BOOK/cross-tools/arm trunk/BOOK/cross-tools/x86

jim at linuxfromscratch.org jim at linuxfromscratch.org
Mon Jul 17 00:45:13 PDT 2006


Author: jim
Date: 2006-07-17 01:45:07 -0600 (Mon, 17 Jul 2006)
New Revision: 2028

Modified:
   /
   branches/clfs-2.0/BOOK/cross-tools/arm/variables.xml
   trunk/BOOK/cross-tools/x86/variables.xml
Log:
 r4654 at server (orig r2149):  jciccone | 2006-07-16 21:05:55 -0700
 Changed the command that sets CLFS_HOST to support more then just -unknown- and -pc-



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2148
   + b6734a72-470d-0410-b049-f317dca95413:/:2149

Modified: branches/clfs-2.0/BOOK/cross-tools/arm/variables.xml
===================================================================
--- branches/clfs-2.0/BOOK/cross-tools/arm/variables.xml	2006-07-17 03:46:20 UTC (rev 2027)
+++ branches/clfs-2.0/BOOK/cross-tools/arm/variables.xml	2006-07-17 07:45:07 UTC (rev 2028)
@@ -19,7 +19,7 @@
   particular needs. To set this information you can issue the following
   command:</para>
 
-<screen os="b"><userinput>export CLFS_HOST="$(echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g')"</userinput></screen>
+<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
 
   <para os="c">Now you will need to set the target triplet for the target
   architecture. You can do this by running the same command as above, just

Modified: trunk/BOOK/cross-tools/x86/variables.xml
===================================================================
--- trunk/BOOK/cross-tools/x86/variables.xml	2006-07-17 03:46:20 UTC (rev 2027)
+++ trunk/BOOK/cross-tools/x86/variables.xml	2006-07-17 07:45:07 UTC (rev 2028)
@@ -19,7 +19,7 @@
   particular needs. To set this information you can issue the following
   command:</para>
 
-<screen os="b"><userinput>export CLFS_HOST="$(echo ${MACHTYPE} | sed -e 's/unknown/cross/g' -e 's/-pc-/-cross-/g')"</userinput></screen>
+<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
 
   <para os="c">Now you will need to set the target triplet for the target
   architecture. You can do this by running the same command as above, just




More information about the cross-lfs mailing list