%general-entities; ]> Build Variables Setting Host and Target export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/mips64/mips/') export CLFS_ENDIAN=$(echo ${CLFS_ARCH} | sed -e 's/mipsel/LITTLE/' -e 's/mips/BIG/') if [ "${CLFS_ENDIAN}" = "LITTLE" ]; then export CLFS_NOT_ENDIAN=BIG else export CLFS_NOT_ENDIAN=LITTLE fi Now you will need to set the MIPS LEVEL. This determines how your uClibc is built. There are currently 5 MIPS ISA Levels. To keep things simple we are only using 2. For more information, go to export CLFS_MIPS_LEVEL="{mips level}" echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc echo export CLFS_NOT_ENDIAN=\""${CLFS_NOT_ENDIAN}\"" >> ~/.bashrc echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc Processor Type and Target Triplets Processor Target Triplet MIPS Level MIPS 32 bits Little Endian mipsel-unknown-linux-uclibc 1 MIPS 32 bits Big Endian mips-unknown-linux-uclibc 1 MIPS 64 bits Little Endian mips64el-unknown-linux-uclibc 3 MIPS 64 bits Big Endian mips64-unknown-linux-uclibc 3