cores/cpu: Add riscv*-unknown-linux-gnu triple, fix riscv-linux-gnu

Add riscv*-unknown-linux-gnu to known triples, and fix the existing
riscv-linux-gnu by removing the incorrect -gcc suffix from the
triple.
This commit is contained in:
Shawn Anastasio 2020-10-02 18:30:46 -05:00
parent 6fd48ca2ce
commit fa82d97aa5
1 changed files with 5 additions and 2 deletions

View File

@ -38,21 +38,24 @@ class CPUNone(CPU):
CPU_GCC_TRIPLE_RISCV32 = ( CPU_GCC_TRIPLE_RISCV32 = (
"riscv64-unknown-elf", "riscv64-unknown-elf",
"riscv64-unknown-linux-gnu",
"riscv32-unknown-elf", "riscv32-unknown-elf",
"riscv32-unknown-linux-gnu",
"riscv64-elf", "riscv64-elf",
"riscv32-elf", "riscv32-elf",
"riscv-none-embed", "riscv-none-embed",
"riscv64-linux", "riscv64-linux",
"riscv64-linux-gnu-gcc", "riscv64-linux-gnu",
"riscv-sifive-elf", "riscv-sifive-elf",
"riscv64-none-elf", "riscv64-none-elf",
) )
CPU_GCC_TRIPLE_RISCV64 = ( CPU_GCC_TRIPLE_RISCV64 = (
"riscv64-unknown-elf", "riscv64-unknown-elf",
"riscv64-unknown-linux-gnu",
"riscv64-elf", "riscv64-elf",
"riscv64-linux", "riscv64-linux",
"riscv64-linux-gnu-gcc", "riscv64-linux-gnu",
"riscv-sifive-elf", "riscv-sifive-elf",
"riscv64-none-elf", "riscv64-none-elf",
) )