Initial support for OpenRISC 1000 (or1k)

This commit is contained in:
Samuel Dionne-Riel
2020-11-09 15:06:44 -05:00
parent 32fdf2118c
commit 6d8327ea96
5 changed files with 12 additions and 0 deletions

View File

@@ -185,6 +185,7 @@ stdenv.mkDerivation {
else if targetPlatform.isAvr then "avr"
else if targetPlatform.isAlpha then "alpha"
else if targetPlatform.isVc4 then "vc4"
else if targetPlatform.isOr1k then "or1k"
else throw "unknown emulation for platform: ${targetPlatform.config}";
in if targetPlatform.useLLVM or false then ""
else targetPlatform.platform.bfdEmulation or (fmt + sep + arch);