diff options
Diffstat (limited to 'lib/systems')
-rw-r--r-- | lib/systems/examples.nix | 6 | ||||
-rw-r--r-- | lib/systems/platforms.nix | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 3bbe61ed33a5..12c63c9bd5ed 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -7,7 +7,7 @@ let riscv = bits: { config = "riscv${bits}-unknown-linux-gnu"; - platform = platforms.riscv-multiplatform bits; + platform = platforms.riscv-multiplatform; }; in @@ -105,13 +105,13 @@ rec { riscv64-embedded = { config = "riscv64-none-elf"; libc = "newlib"; - platform = platforms.riscv-multiplatform "64"; + platform = platforms.riscv-multiplatform; }; riscv32-embedded = { config = "riscv32-none-elf"; libc = "newlib"; - platform = platforms.riscv-multiplatform "32"; + platform = platforms.riscv-multiplatform; }; mmix = { diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index b3a4f9fc13cb..6b9e258d4f08 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -456,7 +456,7 @@ rec { ## Other ## - riscv-multiplatform = bits: { + riscv-multiplatform = { name = "riscv-multiplatform"; kernelArch = "riscv"; kernelTarget = "vmlinux"; |