[OE-core] [PATCH 11/19] guile: allow compilation for aarch64

Khem Raj raj.khem at gmail.com
Thu Jan 1 01:25:59 UTC 2015


> On Dec 18, 2014, at 12:51 AM, Kai Kang <kai.kang at windriver.com> wrote:
> 
> From: Joe Slater <jslater at windriver.com>
> 
> Add aarch64 endianness specification to scm file.
> 
> Signed-off-by: Joe Slater <jslater at windriver.com>
> ---
> meta/recipes-devtools/guile/files/arm_aarch64.patch | 19 +++++++++++++++++++
> meta/recipes-devtools/guile/guile_2.0.11.bb         |  1 +
> 2 files changed, 20 insertions(+)
> create mode 100644 meta/recipes-devtools/guile/files/arm_aarch64.patch
> 
> 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 0000000..f1788b6
> --- /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 at 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))

While you are at it. can you also set it for aarch64_be case as well ?





More information about the Openembedded-core mailing list