[llvmlinux] [PATCH] Add support for the Malta target, MIPS CodeSourcery toolchains, and switched away from EABI

Daniel Sanders Daniel.Sanders at imgtec.com
Thu Aug 7 09:03:37 UTC 2014

* Add support for CodeSourcery toolchain
* Changed triple from mips-none-eabi to mips-unknown-linux.
  This is because clang for MIPS does not support EABI yet.
* Added support for big and little endian
  It's not currently possible to build for big and little endian at the same time since some paths conflict.
* Added partial support for MIPS64 in that the correct qemu binary will be called.
This patch is based on work by Matheus Almeida.
Signed-off-by: Daniel Sanders <daniel.sanders at imgtec.com>                         

After this patch, 'make kernel-gcc-build' and 'make test-gcc' will work for both big and little endian with the CodeSourcery toolchain targeting Malta. There will be follow up patches for the clang build (mostly fixing VLAIS issues) once I've tested that.

I can split this up into separate toolchain/target patches if you prefer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-the-Malta-target-MIPS-CodeSourcery-t.patch
Type: text/x-patch
Size: 146339 bytes
Desc: 0001-Add-support-for-the-Malta-target-MIPS-CodeSourcery-t.patch
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20140807/88c9361f/attachment-0001.bin>

More information about the LLVMLinux mailing list