mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-28 16:00:22 +02:00
Recognize nios2 as compilation target
Add support for the nios2 architecture. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
be8be776df
commit
f9f438d471
1 changed files with 2 additions and 2 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue