Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | guile: add aarch64 recognition |
| 2 | |
| 3 | Assume little-endian. |
| 4 | |
| 5 | Upstream-Status: Pending |
| 6 | |
| 7 | Signed-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) |