summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2014-12-18 16:51:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-23 10:18:18 +0000
commit4c2048f1b5e0a8844731578cedcede8dee3a144b (patch)
tree2c034ced4c4959980f6808d512462bf4afed9986
parentba1db068b052b86c37b9575c08c3d4871b1ca61c (diff)
downloadpoky-4c2048f1b5e0a8844731578cedcede8dee3a144b.tar.gz
guile: allow compilation for aarch64
Add aarch64 endianness specification to scm file. (From OE-Core rev: 6ec04f8ceaa02bf6dba586f0858f860b5df60945) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/guile/files/arm_aarch64.patch19
-rw-r--r--meta/recipes-devtools/guile/guile_2.0.11.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/guile/files/arm_aarch64.patch b/meta/recipes-devtools/guile/files/arm_aarch64.patch
new file mode 100644
index 0000000000..f1788b62fb
--- /dev/null
+++ b/meta/recipes-devtools/guile/files/arm_aarch64.patch
@@ -0,0 +1,19 @@
1guile: add aarch64 recognition
2
3Assume little-endian.
4
5Upstream-Status: Pending
6
7Signed-off-by: joe.slater@windriver.com
8
9--- a/module/system/base/target.scm
10+++ b/module/system/base/target.scm
11@@ -70,6 +70,8 @@
12 ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
13 "mips" "mips64"))
14 (endianness big))
15+ ((string-match "^aarch64" cpu)
16+ (endianness little))
17 ((string-match "^arm.*eb" cpu)
18 (endianness big))
19 ((string-match "^arm.*" cpu)
diff --git a/meta/recipes-devtools/guile/guile_2.0.11.bb b/meta/recipes-devtools/guile/guile_2.0.11.bb
index bd23c2b918..f2c07599ec 100644
--- a/meta/recipes-devtools/guile/guile_2.0.11.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.11.bb
@@ -19,6 +19,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
19 file://opensuse/guile-64bit.patch \ 19 file://opensuse/guile-64bit.patch \
20 file://guile_2.0.6_fix_sed_error.patch \ 20 file://guile_2.0.6_fix_sed_error.patch \
21 file://arm_endianness.patch \ 21 file://arm_endianness.patch \
22 file://arm_aarch64.patch \
22 file://workaround-ice-ssa-corruption.patch \ 23 file://workaround-ice-ssa-corruption.patch \
23 " 24 "
24 25