diff options
Diffstat (limited to 'meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch')
-rw-r--r-- | meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch b/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch index 519585b8e9..8e84747704 100644 --- a/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch +++ b/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch | |||
@@ -10,27 +10,23 @@ Upstream-Status: Submitted [ http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22480 | |||
10 | 1 file changed, 2 insertions(+), 2 deletions(-) | 10 | 1 file changed, 2 insertions(+), 2 deletions(-) |
11 | 11 | ||
12 | diff --git a/module/system/base/target.scm b/module/system/base/target.scm | 12 | diff --git a/module/system/base/target.scm b/module/system/base/target.scm |
13 | index d60a8e0..d1f6cff 100644 | ||
14 | --- a/module/system/base/target.scm | 13 | --- a/module/system/base/target.scm |
15 | +++ b/module/system/base/target.scm | 14 | +++ b/module/system/base/target.scm |
16 | @@ -65,7 +65,7 @@ | 15 | @@ -65,7 +65,7 @@ |
17 | (cond ((string-match "^i[0-9]86$" cpu) | 16 | (cond ((string-match "^i[0-9]86$" cpu) |
18 | (endianness little)) | 17 | (endianness little)) |
19 | ((member cpu '("x86_64" "ia64" | 18 | ((member cpu '("x86_64" "ia64" |
20 | - "powerpcle" "powerpc64le" "mipsel" "mips64el")) | 19 | - "powerpcle" "powerpc64le" "mipsel" "mips64el" "sh4")) |
21 | + "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2")) | 20 | + "powerpcle" "powerpc64le" "mipsel" "mips64el" "sh4" "nios2")) |
22 | (endianness little)) | 21 | (endianness little)) |
23 | ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" | 22 | ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" |
24 | "mips" "mips64")) | 23 | "mips" "mips64" "m68k" "s390x")) |
25 | @@ -100,7 +100,7 @@ | 24 | @@ -108,7 +108,7 @@ |
26 | 25 | ||
27 | ((string-match "64$" cpu) 8) | 26 | ((string-match "64$" cpu) 8) |
28 | ((string-match "64[lbe][lbe]$" cpu) 8) | 27 | ((string-match "64_?[lbe][lbe]$" cpu) 8) |
29 | - ((member cpu '("sparc" "powerpc" "mips" "mipsel")) 4) | 28 | - ((member cpu '("sparc" "powerpc" "mips" "mipsel" "m68k" "sh4")) 4) |
30 | + ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2")) 4) | 29 | + ((member cpu '("sparc" "powerpc" "mips" "mipsel" "m68k" "sh4" "nios2")) 4) |
30 | ((member cpu '("s390x")) 8) | ||
31 | ((string-match "^arm.*" cpu) 4) | 31 | ((string-match "^arm.*" cpu) 4) |
32 | (else (error "unknown CPU word size" cpu))))) | 32 | (else (error "unknown CPU word size" cpu))))) |
33 | |||
34 | -- | ||
35 | 2.7.0.rc3 | ||
36 | |||