diff options
author | Raito Bezarius <masterancpp@gmail.com> | 2023-11-25 12:47:30 +0100 |
---|---|---|
committer | Raito Bezarius <masterancpp@gmail.com> | 2023-11-25 12:47:30 +0100 |
commit | 6a2ed3adf2d4e503676ca6dc16467ec88608eb7d (patch) | |
tree | 088d070e7e63737751f3df845cb5e9522998ce37 /pkgs/development/compilers/edk2 | |
parent | e99c920fb1055850540ff8d31b7d347b7088fccc (diff) |
edk2: support RISC-V
EDK2 has a good support of RISC-V nowadays.
Diffstat (limited to 'pkgs/development/compilers/edk2')
-rw-r--r-- | pkgs/development/compilers/edk2/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix index cc1f357c5850..70afb8ba714b 100644 --- a/pkgs/development/compilers/edk2/default.nix +++ b/pkgs/development/compilers/edk2/default.nix @@ -21,6 +21,8 @@ else if stdenv.isAarch32 then "ARM" else if stdenv.isAarch64 then "AARCH64" +else if stdenv.hostPlatform.isRiscV64 then + "RISCV64" else throw "Unsupported architecture"; @@ -92,7 +94,7 @@ edk2 = stdenv.mkDerivation rec { description = "Intel EFI development kit"; homepage = "https://github.com/tianocore/tianocore.github.io/wiki/EDK-II/"; license = licenses.bsd2; - platforms = with platforms; aarch64 ++ arm ++ i686 ++ x86_64; + platforms = with platforms; aarch64 ++ arm ++ i686 ++ x86_64 ++ riscv64; }; passthru = { |