Merge pull request #72657 from cleverca22/vc4

Initial implementation of vc4 cross-compile
This commit is contained in:
John Ericson
2019-11-24 16:04:15 -05:00
committed by GitHub
11 changed files with 94 additions and 14 deletions
@@ -184,6 +184,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);