diff options
author | Adam C. Foltzer <acfoltzer@galois.com> | 2017-06-05 10:23:20 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-06-14 14:51:15 +0200 |
commit | 77eae90ef5ca3f9a4bdf5727a29713dd2b215165 (patch) | |
tree | 697d6f4d0b60f1f7e553ce7212a28f4340d4d1ff /meta-oe/classes | |
parent | 163abe723deb89577fd83a69ce016c47738b0e8d (diff) | |
download | meta-openembedded-77eae90ef5ca3f9a4bdf5727a29713dd2b215165.tar.gz |
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@galois.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r-- | meta-oe/classes/meson.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass index c33174a218..d2ae626ebe 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)}] | |||
66 | cpp_link_args = [${@meson_array('TOOLCHAIN_OPTIONS', d)}] | 66 | cpp_link_args = [${@meson_array('TOOLCHAIN_OPTIONS', d)}] |
67 | 67 | ||
68 | [host_machine] | 68 | [host_machine] |
69 | system = '${HOST_OS}' | 69 | system = '${BUILD_OS}' |
70 | cpu_family = '${HOST_ARCH}' | 70 | cpu_family = '${BUILD_ARCH}' |
71 | cpu = '${HOST_ARCH}' | 71 | cpu = '${BUILD_ARCH}' |
72 | endian = '${MESON_HOST_ENDIAN}' | 72 | endian = '${MESON_HOST_ENDIAN}' |
73 | 73 | ||
74 | [target_machine] | 74 | [target_machine] |