mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
ba1db068b0
commit
4c2048f1b5
19
meta/recipes-devtools/guile/files/arm_aarch64.patch
Normal file
19
meta/recipes-devtools/guile/files/arm_aarch64.patch
Normal file
@@ -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)
|
||||||
@@ -19,6 +19,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.xz \
|
|||||||
file://opensuse/guile-64bit.patch \
|
file://opensuse/guile-64bit.patch \
|
||||||
file://guile_2.0.6_fix_sed_error.patch \
|
file://guile_2.0.6_fix_sed_error.patch \
|
||||||
file://arm_endianness.patch \
|
file://arm_endianness.patch \
|
||||||
|
file://arm_aarch64.patch \
|
||||||
file://workaround-ice-ssa-corruption.patch \
|
file://workaround-ice-ssa-corruption.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user