aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authormephi42 <mephi42@gmail.com>2018-02-16 17:50:42 +0300
committerLudovic Courtès <ludo@gnu.org>2018-02-19 22:22:21 +0100
commitb91004c2f5b95281e4533195108051aeeecf99a3 (patch)
tree2eda15335c76f3c439cc214c2ae6e7ce6546b6aa /gnu/packages/linux.scm
parent900be977ae9c2413bad071458afe500b3cb96cd4 (diff)
downloadgnu-guix-b91004c2f5b95281e4533195108051aeeecf99a3.tar
gnu-guix-b91004c2f5b95281e4533195108051aeeecf99a3.tar.gz
gnu: Add basic support for s390x-linux-gnu targets.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "s390x-linux". * gnu/packages/linux.scm (system->linux-architecture): Add "s390" prefix. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3a553fc96b..32d2220bc3 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -128,6 +128,7 @@
((string-prefix? "aarch64" arch) "arm64")
((string-prefix? "alpha" arch) "alpha")
((string-prefix? "powerpc" arch) "powerpc") ;including "powerpc64le"
+ ((string-prefix? "s390" arch) "s390")
(else arch))))
(define-public (system->defconfig system)