[OE-core] [meta-oe][PATCH] mozjs: add aarch64 be support
Burton, Ross
ross.burton at intel.com
Fri Jan 25 11:47:32 UTC 2019
How is this not appropriate for upstream?
Ross
On Fri, 25 Jan 2019 at 11:40, C.r. Guo <chunrong.guo at nxp.com> wrote:
>
> From: Chunrong Guo <chunrong.guo at nxp.com>
>
> Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
> ---
> .../mozjs/mozjs/0001-add-aarch64-be-support.patch | 28 ++++++++++++++++++++++
> meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb | 1 +
> 2 files changed, 29 insertions(+)
> create mode 100644 meta-oe/recipes-extended/mozjs/mozjs/0001-add-aarch64-be-support.patch
>
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-add-aarch64-be-support.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-add-aarch64-be-support.patch
> new file mode 100644
> index 0000000..05ab2c1
> --- /dev/null
> +++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-add-aarch64-be-support.patch
> @@ -0,0 +1,28 @@
> +From 52ab270c9ff1e3b0d5ce2fd59a268afd6e9cc0c8 Mon Sep 17 00:00:00 2001
> +From: BJ DevOps Team <bjdevops at NXP1.onmicrosoft.com>
> +Date: Tue, 16 Oct 2018 16:53:18 +0800
> +Subject: [PATCH] add aarch64 be support
> +
> +Upstream-Status: Inappropriate [oe specific]
> +
> +---
> + build/moz.configure/init.configure | 3 +++
> + 1 file changed, 3 insertions(+)
> +
> +diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
> +index 56e6730..139b5fa 100644
> +--- a/build/moz.configure/init.configure
> ++++ b/build/moz.configure/init.configure
> +@@ -359,6 +359,9 @@ def split_triplet(triplet):
> + elif cpu in ('mips64', 'mips64el'):
> + canonical_cpu = 'mips64'
> + endianness = 'little' if 'el' in cpu else 'big'
> ++ elif cpu in ('aarch64_be'):
> ++ canonical_cpu = 'aarch64'
> ++ endianness = 'big'
> + elif cpu.startswith('aarch64'):
> + canonical_cpu = 'aarch64'
> + endianness = 'little'
> +--
> +2.7.4
> +
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb
> index a28ecc5..e39c929 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb
> +++ b/meta-oe/recipes-extended/mozjs/mozjs_52.9.1.bb
> @@ -15,6 +15,7 @@ SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/m/mozjs52/mozjs52_52.9.1.o
> file://add-riscv-support.patch \
> file://0001-mozjs-fix-coredump-caused-by-getenv.patch \
> file://format-overflow.patch \
> + file://0001-add-aarch64-be-support.patch \
> "
> SRC_URI_append_libc-musl = " \
> file://0006-support-musl.patch \
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list