guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: linux-libre: Add case for ARCH=mips.


From: Mark H. Weaver
Subject: 01/02: gnu: linux-libre: Add case for ARCH=mips.
Date: Fri, 07 Aug 2015 15:33:07 +0000

mhw pushed a commit to branch wip-loongson2f
in repository guix.

commit 5ee80c57b3914dba183e256ba9223887f5ae9c7f
Author: Mark H Weaver <address@hidden>
Date:   Thu Aug 6 18:15:51 2015 -0400

    gnu: linux-libre: Add case for ARCH=mips.
    
    * gnu/packages/linux.scm (linux-libre)[build-phase]: When setting ARCH, add 
a
      case for MIPS.
---
 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 ea068dc..6e22425 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -220,6 +220,7 @@ for SYSTEM, or #f if there is no configuration for SYSTEM."
              (let ((arch (car (string-split system #\-))))
                (setenv "ARCH"
                        (cond ((string=? arch "i686") "i386")
+                             ((string=? arch "mips64el") "mips")
                              (else arch)))
                (format #t "`ARCH' set to `~a'~%" (getenv "ARCH")))
 



reply via email to

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