Add more supported GCC triples
authorLas Safin <me@las.rs>
Sun, 19 Sep 2021 16:16:35 +0000 (16:16 +0000)
committerLas Safin <me@las.rs>
Sun, 19 Sep 2021 16:16:35 +0000 (16:16 +0000)
libresoc/core.py
microwatt/core.py

index 4ec36b05c6c1f877f4a4d0a4c5a12320d5f5090a..f22925bbd7c045f7483d65579956a9f5faa9db0c 100644 (file)
@@ -157,7 +157,7 @@ class LibreSoC(CPU):
     human_name           = "Libre-SoC"
     variants             = CPU_VARIANTS
     endianness           = "little"
-    gcc_triple           = ("powerpc64le-linux", "powerpc64le-linux-gnu")
+    gcc_triple           = ("powerpc64le-linux", "powerpc64le-linux-gnu", "powerpc64le-unknown-linux-gnu")
     linker_output_format = "elf64-powerpcle"
     nop                  = "nop"
     io_regions           = {0xc0000000: 0x10000000} # origin, length
index 1dbeb346416e2083db3999d13480ab16b7d2e427..65a87e9a14033ab7dde862a13684ee9ec64ac1a3 100644 (file)
@@ -19,7 +19,7 @@ class Microwatt(CPU):
     variants             = CPU_VARIANTS
     data_width           = 64
     endianness           = "little"
-    gcc_triple           = ("powerpc64le-linux", "powerpc64le-linux-gnu")
+    gcc_triple           = ("powerpc64le-linux", "powerpc64le-linux-gnu", "powerpc64le-unknown-linux-gnu")
     linker_output_format = "elf64-powerpcle"
     nop                  = "nop"
     io_regions           = {0xc0000000: 0x10000000} # origin, length