[oe-commits] [meta-openembedded] 54/77: meson: fix build/host confusion for bbclass
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 12 07:12:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 07e347b04a8d7c19ab6b0e733ec0e70a1b9ccb31
Author: Adam C. Foltzer <acfoltzer at galois.com>
AuthorDate: Mon Jun 5 10:23:20 2017 -0700
meson: fix build/host confusion for bbclass
Meson and Bitbake use different terminology for the build and host;
this provides the correct build machine info to Meson.
Signed-off-by: Adam C. Foltzer <acfoltzer at galois.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/classes/meson.bbclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index c33174a..d2ae626 100644
--- a/meta-oe/classes/meson.bbclass
+++ b/meta-oe/classes/meson.bbclass
@@ -66,9 +66,9 @@ c_link_args = [${@meson_array('TOOLCHAIN_OPTIONS', d)}]
cpp_link_args = [${@meson_array('TOOLCHAIN_OPTIONS', d)}]
[host_machine]
-system = '${HOST_OS}'
-cpu_family = '${HOST_ARCH}'
-cpu = '${HOST_ARCH}'
+system = '${BUILD_OS}'
+cpu_family = '${BUILD_ARCH}'
+cpu = '${BUILD_ARCH}'
endian = '${MESON_HOST_ENDIAN}'
[target_machine]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list