Changeset a9bbc46 in clfs-embedded for BOOK/cross-tools/mips
- Timestamp:
- Nov 28, 2010, 7:46:43 AM (14 years ago)
- Branches:
- master
- Children:
- d9bcc87
- Parents:
- 87d09b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/mips/variables.xml
r87d09b7 ra9bbc46 25 25 xpointer="xpointer(//*[@os='c'])"/> 26 26 27 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/mips64/mips/')</userinput></screen> 28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../x86/variables.xml" 31 xpointer="xpointer(//*[@os='e'])"/> 32 33 <screen os="f"><userinput>export CLFS_ENDIAN=$(echo ${CLFS_ARCH} | 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> 27 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/\(mips\)\(64\)\?\(el\)\?-.*/\1\3/') 28 export CLFS_ENDIAN=$(echo ${CLFS_ARCH} | sed -e 's/mipsel/little/' -e 's/mips/big/')</userinput></screen> 39 29 40 30 <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your … … 53 43 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc 54 44 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc 55 echo export CLFS_NOT_ENDIAN=\""${CLFS_NOT_ENDIAN}\"" >> ~/.bashrc56 45 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc</userinput></screen> 57 46
Note:
See TracChangeset
for help on using the changeset viewer.