aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guile/files
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-22 10:53:55 +0000
commit6ec04f8ceaa02bf6dba586f0858f860b5df60945 (patch)
tree5a8f4559e6fc1c52d533b1fabcb4ab5bce65614c /meta/recipes-devtools/guile/files
parent9546d5a5078e34966061d42233678faaa3041d41 (diff)
downloadopenembedded-core-contrib-6ec04f8ceaa02bf6dba586f0858f860b5df60945.tar.gz
guile: allow compilation for aarch64
Add aarch64 endianness specification to scm file. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/guile/files')
-rw-r--r--meta/recipes-devtools/guile/files/arm_aarch64.patch19
1 files changed, 19 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 00000000000..f1788b62fb3
--- /dev/null
+++ b/meta/recipes-devtools/guile/files/arm_aarch64.patch
@@ -0,0 +1,19 @@
+guile: add aarch64 recognition
+
+Assume little-endian.
+
+Upstream-Status: Pending
+
+Signed-off-by: joe.slater@windriver.com
+
+--- a/module/system/base/target.scm
++++ b/module/system/base/target.scm
+@@ -70,6 +70,8 @@
+ ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
+ "mips" "mips64"))
+ (endianness big))
++ ((string-match "^aarch64" cpu)
++ (endianness little))
+ ((string-match "^arm.*eb" cpu)
+ (endianness big))
+ ((string-match "^arm.*" cpu)