Skip to content

Commit

Permalink
lib/systems/exmaple: riscv-multiplatform no longer needs parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Nov 29, 2020
1 parent 04f6973 commit 9918ba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let

riscv = bits: {
config = "riscv${bits}-unknown-linux-gnu";
platform = platforms.riscv-multiplatform bits;
platform = platforms.riscv-multiplatform;
};
in

Expand Down Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion lib/systems/platforms.nix
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ rec {
## Other
##

riscv-multiplatform = bits: {
riscv-multiplatform = {
name = "riscv-multiplatform";
kernelArch = "riscv";
kernelTarget = "vmlinux";
Expand Down

0 comments on commit 9918ba2

Please sign in to comment.