diff options
author | Nick Cao <nickcao@nichi.co> | 2023-01-13 14:34:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 14:34:15 +0800 |
commit | 2ec6e40b0cff0fc528703512c642589426a3a43d (patch) | |
tree | 1f70df894f80dbf249ead52437ffb66dac6141c6 /pkgs/tools/misc/grub | |
parent | 35bede2be58a9bf357ea82071a14f859adcef10d (diff) | |
parent | a77366a2660f0b60d82b249ff3842b5e11757128 (diff) |
Merge pull request #184526 from dramforever/grub2-riscv
grub2: Add support for riscv{32,64}-linux
Diffstat (limited to 'pkgs/tools/misc/grub')
-rw-r--r-- | pkgs/tools/misc/grub/2.0x.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix index 58ed620ffd08d..15c9652d6a29d 100644 --- a/pkgs/tools/misc/grub/2.0x.nix +++ b/pkgs/tools/misc/grub/2.0x.nix @@ -25,6 +25,8 @@ let x86_64-linux.target = "x86_64"; armv7l-linux.target = "arm"; aarch64-linux.target = "aarch64"; + riscv32-linux.target = "riscv32"; + riscv64-linux.target = "riscv64"; }; # For aarch64, we need to use '--target=aarch64-efi' when building, @@ -34,6 +36,8 @@ let x86_64-linux.target = "x86_64"; armv7l-linux.target = "arm"; aarch64-linux.target = "arm64"; + riscv32-linux.target = "riscv32"; + riscv64-linux.target = "riscv64"; }; canEfi = any (system: stdenv.hostPlatform.system == system) (mapAttrsToList (name: _: name) efiSystemsBuild); |