From 77eae90ef5ca3f9a4bdf5727a29713dd2b215165 Mon Sep 17 00:00:00 2001 From: "Adam C. Foltzer" Date: Mon, 5 Jun 2017 10:23:20 -0700 Subject: 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 Signed-off-by: Martin Jansa --- meta-oe/classes/meson.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta-oe/classes') 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)}] 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] -- cgit v1.2.3-54-g00ecf