[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30487] [PATCH] gnu: Add basic support for s390x-linux-gnu targets.

From: mephi42
Subject: [bug#30487] [PATCH] gnu: Add basic support for s390x-linux-gnu targets.
Date: Fri, 16 Feb 2018 17:50:42 +0300

* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add
* gnu/packages/linux.scm (system->linux-architecture): Add "s390"
 gnu/packages/bootstrap.scm | 1 +
 gnu/packages/linux.scm     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index ba733b3a9..20fcfacb8 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -173,6 +173,7 @@ successful, or false to signal an error."
         ((string=? system "powerpc-linux") "/lib/")
         ((string=? system "powerpc64le-linux") "/lib/")
         ((string=? system "alpha-linux") "/lib/")
+        ((string=? system "s390x-linux") "/lib/")
         ;; XXX: This one is used bare-bones, without a libc, so add a case
         ;; here just so we can keep going.
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index bc1c65851..f2d0fdab7 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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]