* [PATCH] meson: add aarch64 big endian support
@ 2019-01-09 9:48 C.r. Guo
2019-01-09 21:23 ` Burton, Ross
2019-01-09 21:33 ` ✗ patchtest: failure for " Patchwork
0 siblings, 2 replies; 3+ messages in thread
From: C.r. Guo @ 2019-01-09 9:48 UTC (permalink / raw)
To: openembedded-core
From: Chunrong Guo <chunrong.guo@nxp.com>
*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 <chunrong.guo@nxp.com>
---
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 <chunrong.guo@nxp.com>
+Date: Wed, 9 Jan 2019 10:11:49 +0100
+Subject: [PATCH] support aarch64_be
+
+Signed-off-by: C.r. Guo <nxa13725@lsv07005.swis.us-cdc01.nxp.com>
+---
+ 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] meson: add aarch64 big endian support
2019-01-09 9:48 [PATCH] meson: add aarch64 big endian support C.r. Guo
@ 2019-01-09 21:23 ` Burton, Ross
2019-01-09 21:33 ` ✗ patchtest: failure for " Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Burton, Ross @ 2019-01-09 21:23 UTC (permalink / raw)
To: C.r. Guo; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 3002 bytes --]
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 <chunrong.guo@nxp.com> wrote:
> From: Chunrong Guo <chunrong.guo@nxp.com>
>
> *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 <chunrong.guo@nxp.com>
> ---
> 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 <chunrong.guo@nxp.com>
> +Date: Wed, 9 Jan 2019 10:11:49 +0100
> +Subject: [PATCH] support aarch64_be
> +
> +Signed-off-by: C.r. Guo <nxa13725@lsv07005.swis.us-cdc01.nxp.com>
> +---
> + 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
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
[-- Attachment #2: Type: text/html, Size: 4296 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* ✗ patchtest: failure for meson: add aarch64 big endian support
2019-01-09 9:48 [PATCH] meson: add aarch64 big endian support C.r. Guo
2019-01-09 21:23 ` Burton, Ross
@ 2019-01-09 21:33 ` Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2019-01-09 21:33 UTC (permalink / raw)
To: C.R. Guo; +Cc: openembedded-core
== Series Details ==
Series: meson: add aarch64 big endian support
Revision: 1
URL : https://patchwork.openembedded.org/series/15587/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 65c419b8c4)
* Issue Added patch file is missing Upstream-Status in the header [test_upstream_status_presence_format]
Suggested fix Add Upstream-Status: <Valid status> to the header of meta/recipes-devtools/meson/meson/0001-support-aarch64_be.patch
Standard format Upstream-Status: <Valid status>
Valid status Pending, Accepted, Backport, Denied, Inappropriate [reason], Submitted [where]
If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-09 21:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-09 9:48 [PATCH] meson: add aarch64 big endian support C.r. Guo
2019-01-09 21:23 ` Burton, Ross
2019-01-09 21:33 ` ✗ patchtest: failure for " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.