initial implementation of vc4 cross-compile

This commit is contained in:
Michael Bishop
2019-11-02 12:47:38 -03:00
parent 91b02cd86b
commit 4aa1ffae04
11 changed files with 94 additions and 14 deletions

View File

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