diff options
author | Marek Vasut <marex@denx.de> | 2016-02-10 01:04:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-11 12:27:28 +0000 |
commit | b2a5f9e98fd6bd7e1deeb0cd83587eb567ed6d75 (patch) | |
tree | fdb22fb013e468e6ee84cd96812c845a714d65fe /meta | |
parent | fdac5c38183aa96faea8d51d16ce5f54ee16f944 (diff) | |
download | openembedded-core-b2a5f9e98fd6bd7e1deeb0cd83587eb567ed6d75.tar.gz openembedded-core-b2a5f9e98fd6bd7e1deeb0cd83587eb567ed6d75.tar.bz2 openembedded-core-b2a5f9e98fd6bd7e1deeb0cd83587eb567ed6d75.zip |
guile: Fix nios2 support
Add minor patch to recognize nios2 build target.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch | 36 | ||||
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.11.bb | 1 |
2 files changed, 37 insertions, 0 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 new file mode 100644 index 0000000000..519585b8e9 --- /dev/null +++ b/meta/recipes-devtools/guile/files/0002-Recognize-nios2-as-compilation-target.patch @@ -0,0 +1,36 @@ +From 76155065c70b5ab65c6c805423183b360141db84 Mon Sep 17 00:00:00 2001 +From: Marek Vasut <marex@denx.de> +Date: Thu, 28 Jan 2016 04:46:23 +0100 +Subject: [PATCH] Recognize nios2 as compilation target + +Signed-off-by: Marek Vasut <marex@denx.de> +Upstream-Status: Submitted [ http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22480 ] +--- + 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 +@@ -65,7 +65,7 @@ + (cond ((string-match "^i[0-9]86$" cpu) + (endianness little)) + ((member cpu '("x86_64" "ia64" +- "powerpcle" "powerpc64le" "mipsel" "mips64el")) ++ "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2")) + (endianness little)) + ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" + "mips" "mips64")) +@@ -100,7 +100,7 @@ + + ((string-match "64$" cpu) 8) + ((string-match "64[lbe][lbe]$" cpu) 8) +- ((member cpu '("sparc" "powerpc" "mips" "mipsel")) 4) ++ ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2")) 4) + ((string-match "^arm.*" cpu) 4) + (else (error "unknown CPU word size" cpu))))) + +-- +2.7.0.rc3 + diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb b/meta/recipes-devtools/guile/guile_2.0.11.bb index 6815e257d9..6cefe66496 100644 --- a/meta/recipes-devtools/guile/guile_2.0.11.bb +++ b/meta/recipes-devtools/guile/guile_2.0.11.bb @@ -25,6 +25,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \ file://libguile-VM-ASM_MUL-for-ARM-Add-earlyclobber.patch \ file://remove_strcase_l_funcs.patch \ file://0001-libguile-Check-for-strtol_l-during-configure.patch \ + file://0002-Recognize-nios2-as-compilation-target.patch \ " # file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch |