blob: 7fc8a653f924e7583cb51b764ffd691a3f13bc76 [file] [log] [blame]
# In Chromium OS the toolchain has `cros` as a vendor. Such toolchains aren't
# used outside CrOS so LiteX doesn't know these can be used.
diff --git a/litex/soc/cores/cpu/__init__.py b/litex/soc/cores/cpu/__init__.py
index 28736d0a..7bf8e859 100644
--- a/litex/soc/cores/cpu/__init__.py
+++ b/litex/soc/cores/cpu/__init__.py
@@ -59,6 +59,7 @@ CPU_GCC_TRIPLE_RISCV64 = (
"riscv64-linux-gnu",
"riscv-sifive-elf",
"riscv64-none-elf",
+ "riscv64-cros-elf",
)
CPU_GCC_TRIPLE_RISCV32 = CPU_GCC_TRIPLE_RISCV64 + (
@@ -67,6 +68,7 @@ CPU_GCC_TRIPLE_RISCV32 = CPU_GCC_TRIPLE_RISCV64 + (
"riscv32-elf",
"riscv-none-embed",
"riscv-none-elf",
+ "riscv32-cros-elf",
)
# CPUS ---------------------------------------------------------------------------------------------