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
1 changed files with 1 additions and 0 deletions

View File

@ -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")))