- Timestamp:
- Feb 21, 2011, 12:14:29 PM (14 years ago)
- Branches:
- master
- Children:
- b0386e9
- Parents:
- dfff918
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/mips/uclibc.xml
rdfff918 r8c34ffe 37 37 xpointer="xpointer(//*[@os='c'])"/> 38 38 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 href="../common/uclibc.xml" 41 xpointer="xpointer(//*[@os='d'])"/> 39 <para os="d">For the MIPS architecture, there are many different combinations 40 of configurations that can be used when building uClibc based on the choices 41 made previously for: endianess, ABI, and MIPS level. To ensure that the 42 proper configuration is used based on those choices, first copy the configuration 43 matching the endianess chosen, then update the ABI and MIPS level:</para> 42 44 43 <screen os="e"><userinput>cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN}.${CLFS_ABI}.${CLFS_MIPS_LEVEL} .config</userinput></screen> 45 <screen os="e"><userinput>cp -v clfs/config.${CLFS_ARCH}.${CLFS_ENDIAN} .config 46 if [ "${CLFS_ABI}" == "n32" ]; \ 47 then sed -i s/CONFIG_MIPS_O32_ABI/CONFIG_MIPS_N32_ABI/g .config; \ 48 elif [ "${CLFS_ABI}" == "64" ]; \ 49 then sed -i s/CONFIG_MIPS_O32_ABI/CONFIG_MIPS_N64_ABI/g .config; fi; \ 50 if [ "${CLFS_MIPS_LEVEL}" == "3" ]; \ 51 then sed -i s/CONFIG_MIPS_ISA_1/CONFIG_MIPS_ISA_3/g .config; fi</userinput></screen> 44 52 45 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.