Add missing 32-bit variants of RISC-V target triples

I had to waste another 10-15 minutes building a `riscv64-none-elf` GCC
instead after LiteX didn't like my `riscv32-none-elf` one, so I thought
I'd quickly add it. (I was using that target triple because it's what
Nix's `pkgsCross.riscv32-embedded` package set uses).

I also added 32-bit variants of the rest of the target triples which
didn't have them.
This commit is contained in:
Liam Murphy 2024-05-04 17:28:22 +10:00
parent 76a704377f
commit e07c4fdb2a
No known key found for this signature in database
GPG Key ID: 0A01FCF4B19F9B8D
1 changed files with 4 additions and 0 deletions

View File

@ -79,9 +79,13 @@ CPU_GCC_TRIPLE_RISCV64 = (
) )
CPU_GCC_TRIPLE_RISCV32 = CPU_GCC_TRIPLE_RISCV64 + ( CPU_GCC_TRIPLE_RISCV32 = CPU_GCC_TRIPLE_RISCV64 + (
"riscv32-pc-linux-musl",
"riscv32-unknown-elf", "riscv32-unknown-elf",
"riscv32-unknown-linux-gnu", "riscv32-unknown-linux-gnu",
"riscv32-elf", "riscv32-elf",
"riscv32-linux",
"riscv32-linux-gnu",
"riscv32-none-elf",
"riscv-none-embed", "riscv-none-embed",
"riscv-none-elf", "riscv-none-elf",
) )