diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-18 00:09:25 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-18 00:09:25 -0500 |
commit | e288febee0809db7c594ceb42e655dd5d43a6369 (patch) | |
tree | b05498dd2dd238358b5017625746209530215875 /lib/systems/platforms.nix | |
parent | 5be93a588335082d0610c739067035dfc1ddd260 (diff) |
Add riscv{32,64} crossSystems.
Diffstat (limited to 'lib/systems/platforms.nix')
-rw-r--r-- | lib/systems/platforms.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index 58a7afa7679d..3106c05dd5d2 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -541,6 +541,12 @@ rec { }; }; + riscv-multiplatform = bits: { + name = "riscv-multiplatform"; + kernelArch = "riscv"; + bfdEmulation = "elf${bits}lriscv"; + }; + selectBySystem = system: { "i686-linux" = pc32; "x86_64-linux" = pc64; |