Subject: bug#22480: closed (Re: bug#22480: [PATCH] Recognize nios2 as compilation target)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 07 Aug 2016 11:32:02 +0000

Your bug report

#22480: [PATCH] Recognize nios2 as compilation target

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
22480: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22480
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#22480: [PATCH] Recognize nios2 as compilation target
From: Andy Wingo <[email-masked]>
To: Marek Vasut <[email-masked]>
Cc: [email-masked]
Date: Sun, 07 Aug 2016 13:30:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Applied to master; thanks :)

Andy

On Thu 28 Jan 2016 05:10, Marek Vasut <[email-masked]> writes:

> Add support for the nios2 architecture.
>
> Signed-off-by: Marek Vasut <[email-masked]>
> ---
>  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)))))

Subject: [PATCH] Recognize nios2 as compilation target
From: Marek Vasut <[email-masked]>
To: [email-masked]
Cc: Marek Vasut <[email-masked]>
Date: Thu, 28 Jan 2016 05:10:53 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Add support for the nios2 architecture.

Signed-off-by: Marek Vasut <[email-masked]>
---
 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