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

* gnu/packages/linux.scm (linux-libre)[build-phase]: When setting ARCH, add a
  case for MIPS.
This commit is contained in:
Mark H Weaver 2015-08-06 18:15:51 -04:00 committed by Ludovic Courtès
parent 6c8d70b0b6
commit 726029b2ba

View file

@ -220,6 +220,7 @@ (define-public linux-libre
(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")))