| # 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. |
| |
| --- a/litex/soc/cores/cpu/__init__.py |
| +++ b/litex/soc/cores/cpu/__init__.py |
| @@ -49,6 +49,8 @@ CPU_GCC_TRIPLE_RISCV32 = ( |
| "riscv64-linux-gnu", |
| "riscv-sifive-elf", |
| "riscv64-none-elf", |
| + "riscv32-cros-elf", |
| + "riscv64-cros-elf", |
| ) |
| |
| CPU_GCC_TRIPLE_RISCV64 = ( |
| @@ -59,6 +61,7 @@ CPU_GCC_TRIPLE_RISCV64 = ( |
| "riscv64-linux-gnu", |
| "riscv-sifive-elf", |
| "riscv64-none-elf", |
| + "riscv64-cros-elf", |
| ) |
| |
| # CPUS --------------------------------------------------------------------------------------------- |