Changeset 0dad5b9 in clfs-embedded for BOOK/cross-tools/mips
- Timestamp:
- Jan 25, 2009, 12:12:02 PM (16 years ago)
- Branches:
- master
- Children:
- 4a4fe83
- Parents:
- 667c9bd
- Location:
- BOOK/cross-tools/mips
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/mips/variables.xml
r667c9bd r0dad5b9 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/mips.*/mips/' -e 's/mipsel.*/mips/' </userinput></screen>27 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/mips.*/mips/' -e 's/mipsel.*/mips/')</userinput></screen> 28 28 29 <para os="e1">Now we will setup out default endian needed we need to build:</para> 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../x86/variables.xml" 31 xpointer="xpointer(//*[@os='e'])"/> 30 32 31 <screen os="e2"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/mipsel/LITTLE/' -e 's/mips/BIG/'</userinput></screen> 33 <screen os="f"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_TARGET} | sed -e 's/mipsel/LITTLE/' -e 's/mips/BIG/') 34 if [ "${CLFS_ENDIAN}" = "LITTLE"]; then 35 export CLFS_NOT_ENDIAN=BIG 36 else 37 export CLFS_NOT_ENDIAN=LITTLE 38 fi</userinput></screen> 32 39 33 40 <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your … … 40 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 48 href="../x86/variables.xml" 42 xpointer="xpointer(//*[@os=' e'])"/>49 xpointer="xpointer(//*[@os='g'])"/> 43 50 44 <screen os=" f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc51 <screen os="h"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc 45 52 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc 46 53 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc 54 echo export CLFS_NOT_ENDIAN=\""${CLFS_NOT_ENDIAN}\"" >> ~/.bashrc 47 55 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc</userinput></screen> 48 56 49 <table os=" g">57 <table os="i"> 50 58 <title>Processor Type and Target Triplets</title> 51 59 <?dbfo table-width="5.5in" ?>
Note:
See TracChangeset
for help on using the changeset viewer.