3
0
Fork 0
forked from mirrors/nixpkgs

lib/systems/exmaple: riscv-multiplatform no longer needs parameter

This commit is contained in:
John Ericson 2020-11-28 22:15:10 +00:00
parent 04f6973200
commit 9918ba2dba
2 changed files with 4 additions and 4 deletions

View file

@ -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 = {

View file

@ -456,7 +456,7 @@ rec {
## Other
##
riscv-multiplatform = bits: {
riscv-multiplatform = {
name = "riscv-multiplatform";
kernelArch = "riscv";
kernelTarget = "vmlinux";