Changeset 5470f08 in clfs-embedded for BOOK/cross-tools/x86
- Timestamp:
- Oct 24, 2013, 2:53:51 PM (11 years ago)
- Branches:
- master
- Children:
- 7f1f997
- Parents:
- 293bc69
- git-author:
- Andrew Bradford <andrew@…> (10/24/13 14:49:13)
- git-committer:
- Andrew Bradford <andrew@…> (10/24/13 14:53:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86/variables.xml
r293bc69 r5470f08 17 17 You will need to set the target triplet for the target architecture, and the 18 18 CPU type. If you do not know what triplet or CPU type you want, 19 you can use the table a t the bottom of this page as a reference. Set19 you can use the table as a reference. Set 20 20 the command using the method listed below:</para> 21 21 … … 23 23 export CLFS_TARGET=<replaceable>[target triplet]</replaceable> 24 24 export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen> 25 26 <para os="c">Now we will set the architecture of the CPU based27 on the target triplet provided above:</para>28 29 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>30 31 <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in32 case you have to exit and restart building later:</para>33 34 <screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc35 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc36 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc37 echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>38 25 39 26 <table os="i"> … … 94 81 </table> 95 82 83 <para os="c">Now we will set the architecture of the CPU based 84 on the target triplet provided above:</para> 85 86 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen> 87 88 <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in 89 case you have to exit and restart building later:</para> 90 91 <screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc 92 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 93 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc 94 echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen> 95 96 96 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.