cpu: add a few missing GCC toolchains
authorFilipe Laíns <lains@archlinux.org>
Thu, 9 Jul 2020 14:58:33 +0000 (15:58 +0100)
committerFilipe Laíns <lains@archlinux.org>
Thu, 9 Jul 2020 14:58:33 +0000 (15:58 +0100)
This names are used by Arch Linux for eg.

Signed-off-by: Filipe Laíns <lains@archlinux.org>
litex/soc/cores/cpu/__init__.py

index d0a305577ac0275fd2c7b54927f4b3c591f78648..47f4519f002b927d6ad098992a05e4aa39344fd0 100644 (file)
@@ -35,15 +35,20 @@ class CPUNone(CPU):
 CPU_GCC_TRIPLE_RISCV32 = (
     "riscv64-unknown-elf",
     "riscv32-unknown-elf",
+    "riscv64-elf",
+    "riscv32-elf",
     "riscv-none-embed",
     "riscv64-linux",
+    "riscv64-linux-gnu-gcc",
     "riscv-sifive-elf",
     "riscv64-none-elf",
 )
 
 CPU_GCC_TRIPLE_RISCV64 = (
     "riscv64-unknown-elf",
+    "riscv64-elf",
     "riscv64-linux",
+    "riscv64-linux-gnu-gcc",
     "riscv-sifive-elf",
     "riscv64-none-elf",
 )