unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#22480: [PATCH] Recognize nios2 as compilation target
@ 2016-01-28  4:10 Marek Vasut
  2016-08-07 11:30 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2016-01-28  4:10 UTC (permalink / raw)
  To: 22480; +Cc: Marek Vasut

Add support for the nios2 architecture.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 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 d60a8e0..d1f6cff 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -63,7 +63,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"))
@@ -102,7 +102,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)))))
-- 
2.7.0.rc3






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#22480: [PATCH] Recognize nios2 as compilation target
  2016-01-28  4:10 bug#22480: [PATCH] Recognize nios2 as compilation target Marek Vasut
@ 2016-08-07 11:30 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2016-08-07 11:30 UTC (permalink / raw)
  To: Marek Vasut; +Cc: 22480-done

Applied to master; thanks :)

Andy

On Thu 28 Jan 2016 05:10, Marek Vasut <marex@denx.de> writes:

> Add support for the nios2 architecture.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
>  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 d60a8e0..d1f6cff 100644
> --- a/module/system/base/target.scm
> +++ b/module/system/base/target.scm
> @@ -63,7 +63,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"))
> @@ -102,7 +102,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)))))





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-07 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28  4:10 bug#22480: [PATCH] Recognize nios2 as compilation target Marek Vasut
2016-08-07 11:30 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).