aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guile/files/arm_aarch64.patch
blob: f1788b62fb348a15c5a1ee94b82cb15bf63a39b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)