diff options
author | Michael Bishop <cleverca22@gmail.com> | 2019-11-02 12:47:38 -0300 |
---|---|---|
committer | Michael Bishop <cleverca22@gmail.com> | 2019-11-19 22:19:15 -0400 |
commit | 4aa1ffae041bb9c65eb3067e9dbaaa70710ed100 (patch) | |
tree | 7c1d8395796e35e95e89e4e522dd036c9ba48608 /pkgs/build-support/bintools-wrapper | |
parent | 91b02cd86b09bdd3549663e81883a2c3a7e11961 (diff) | |
download | nixlib-4aa1ffae041bb9c65eb3067e9dbaaa70710ed100.tar nixlib-4aa1ffae041bb9c65eb3067e9dbaaa70710ed100.tar.gz nixlib-4aa1ffae041bb9c65eb3067e9dbaaa70710ed100.tar.bz2 nixlib-4aa1ffae041bb9c65eb3067e9dbaaa70710ed100.tar.lz nixlib-4aa1ffae041bb9c65eb3067e9dbaaa70710ed100.tar.xz nixlib-4aa1ffae041bb9c65eb3067e9dbaaa70710ed100.tar.zst nixlib-4aa1ffae041bb9c65eb3067e9dbaaa70710ed100.zip |
initial implementation of vc4 cross-compile
Diffstat (limited to 'pkgs/build-support/bintools-wrapper')
-rw-r--r-- | pkgs/build-support/bintools-wrapper/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index e02e77de45e4..2c278cf11868 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -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); |