[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 05/07: Recognize nios2 as compilation target
From: |
Andy Wingo |
Subject: |
[Guile-commits] 05/07: Recognize nios2 as compilation target |
Date: |
Sun, 7 Aug 2016 21:24:31 +0000 (UTC) |
wingo pushed a commit to branch stable-2.0
in repository guile.
commit f9f438d471195f285724d23c0db538512bfe77c4
Author: Marek Vasut <address@hidden>
Date: Thu Jan 28 05:10:53 2016 +0100
Recognize nios2 as compilation target
Add support for the nios2 architecture.
Signed-off-by: Marek Vasut <address@hidden>
---
module/system/base/target.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/module/system/base/target.scm b/module/system/base/target.scm
index 0022dc8..40994aa 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -65,7 +65,7 @@
(cond ((string-match "^i[0-9]86$" cpu)
(endianness little))
((member cpu '("x86_64" "ia64"
- "powerpcle" "powerpc64le" "mipsel" "mips64el"
"sh4"))
+ "powerpcle" "powerpc64le" "mipsel" "mips64el"
"nios2" "sh4"))
(endianness little))
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
"mips" "mips64" "m68k" "s390x"))
@@ -104,7 +104,7 @@
((string-match "64$" cpu) 8)
((string-match "64_?[lbe][lbe]$" cpu) 8)
- ((member cpu '("sparc" "powerpc" "mips" "mipsel" "m68k" "sh4")) 4)
+ ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k"
"sh4")) 4)
((member cpu '("s390x")) 8)
((string-match "^arm.*" cpu) 4)
(else (error "unknown CPU word size" cpu)))))
- [Guile-commits] branch stable-2.0 updated (edd6d6e -> a3ad59b), Andy Wingo, 2016/08/07
- [Guile-commits] 04/07: Capture full path to GUILE_FOR_BUILD., Andy Wingo, 2016/08/07
- [Guile-commits] 02/07: Fix typo about pattern variables, Andy Wingo, 2016/08/07
- [Guile-commits] 05/07: Recognize nios2 as compilation target,
Andy Wingo <=
- [Guile-commits] 03/07: Fix grammar in api-compound.texi, Andy Wingo, 2016/08/07
- [Guile-commits] 07/07: Let assv/assoc shortcircuit to assq where feasible, Andy Wingo, 2016/08/07
- [Guile-commits] 06/07: Fix iconv encoding of long strings, Andy Wingo, 2016/08/07
- [Guile-commits] 01/07: Manual recommends against SRFI-10, Andy Wingo, 2016/08/07