Nope.  Quoting from the page linked to in the error message:

As a worked example, consider the little-endian MIPS case. The TARGET_ARCH
for a MIPS machine in little-endian mode is mipsel but Meson doesn't
consider endian changes different CPU families so they're both mips. This
is already in the CPU Family table so all that needs to happen is another
case added to meson_cpu_family() in meson.bbclass. Please file a bug with
this information, or ideally write a patch.


Ross


On Wed, 9 Jan 2019 at 21:18, C.r. Guo <[email protected]> wrote:

> From: Chunrong Guo <[email protected]>
>
> *fix the below error:
> |ERROR: Unknown CPU family aarch64_be, see
> https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.
> |ERROR: meson failed
>
> Signed-off-by: Chunrong Guo <[email protected]>
> ---
>  meta/recipes-devtools/meson/meson.inc              |  1 +
>  .../meson/meson/0001-support-aarch64_be.patch      | 25
> ++++++++++++++++++++++
>  2 files changed, 26 insertions(+)
>  create mode 100644
> meta/recipes-devtools/meson/meson/0001-support-aarch64_be.patch
>
> diff --git a/meta/recipes-devtools/meson/meson.inc
> b/meta/recipes-devtools/meson/meson.inc
> index d37afc3..aa6c9c7 100644
> --- a/meta/recipes-devtools/meson/meson.inc
> +++ b/meta/recipes-devtools/meson/meson.inc
> @@ -19,6 +19,7 @@ SRC_URI[md5sum] = "3c35b91e8040901034809576d54007c6"
>  SRC_URI_append_class-native = " \
>      file://0001-Make-CPU-family-warnings-fatal.patch \
>      file://0002-Support-building-allarch-recipes-again.patch \
> +    file://0001-support-aarch64_be.patch \
>  "
>
>  UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases";
> diff --git
> a/meta/recipes-devtools/meson/meson/0001-support-aarch64_be.patch
> b/meta/recipes-devtools/meson/meson/0001-support-aarch64_be.patch
> new file mode 100644
> index 0000000..6206e11
> --- /dev/null
> +++ b/meta/recipes-devtools/meson/meson/0001-support-aarch64_be.patch
> @@ -0,0 +1,25 @@
> +From ce7d006f7d962c9e1777392a98eed2f3984365c5 Mon Sep 17 00:00:00 2001
> +From: Chunrong Guo <[email protected]>
> +Date: Wed, 9 Jan 2019 10:11:49 +0100
> +Subject: [PATCH] support aarch64_be
> +
> +Signed-off-by: C.r. Guo <[email protected]>
> +---
> + mesonbuild/environment.py | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
> +index b4fc0dc..014ecab 100644
> +--- a/mesonbuild/environment.py
> ++++ b/mesonbuild/environment.py
> +@@ -74,6 +74,7 @@ build_filename = 'meson.build'
> + known_cpu_families = (
> +     'allarch',
> +     'aarch64',
> ++    'aarch64_be',
> +     'arc',
> +     'arm',
> +     'e2k',
> +--
> +2.7.4
> +
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to