diff options
author | Carl Dong <accounts@carldong.me> | 2019-05-28 17:31:32 +0000 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2019-05-29 15:40:31 +0200 |
commit | 7180dd671697e0215b140ebc0d36047b4b8375f2 (patch) | |
tree | 6b6412766eb58c092d5e324b19bf879a9948aebb /gnu/packages/linux.scm | |
parent | 4f963be052d8753d1c3d882dd7dc4392285cc96a (diff) | |
download | guix-7180dd671697e0215b140ebc0d36047b4b8375f2.tar guix-7180dd671697e0215b140ebc0d36047b4b8375f2.tar.gz |
gnu: Add basic support for riscv64-linux-gnu targets.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add
"riscv64-linux".
* gnu/packages/linux.scm (system->linux-architecture): Add "riscv"
prefix.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 67085f30f2..bc519409c0 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -144,6 +144,7 @@ ((string-prefix? "alpha" arch) "alpha") ((string-prefix? "powerpc" arch) "powerpc") ;including "powerpc64le" ((string-prefix? "s390" arch) "s390") + ((string-prefix? "riscv" arch) "riscv") (else arch)))) (define-public (system->defconfig system) |