guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: Add basic support for s390x-linux-gnu targets.


From: Ludovic Courtès
Subject: 05/06: gnu: Add basic support for s390x-linux-gnu targets.
Date: Mon, 19 Feb 2018 16:33:14 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit b91004c2f5b95281e4533195108051aeeecf99a3
Author: mephi42 <address@hidden>
Date:   Fri Feb 16 17:50:42 2018 +0300

    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 <address@hidden>
---
 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 b02737c..27f2053 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -177,6 +177,7 @@ successful, or false to signal an error."
         ((string=? system "powerpc-linux") "/lib/ld.so.1")
         ((string=? system "powerpc64le-linux") "/lib/ld64.so.2")
         ((string=? system "alpha-linux") "/lib/ld-linux.so.2")
+        ((string=? system "s390x-linux") "/lib/ld64.so.1")
 
         ;; 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 3a553fc..32d2220 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]