mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 13:00:02 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
163abe723d
commit
77eae90ef5
@@ -66,9 +66,9 @@ c_link_args = [${@meson_array('TOOLCHAIN_OPTIONS', d)}]
|
|||||||
cpp_link_args = [${@meson_array('TOOLCHAIN_OPTIONS', d)}]
|
cpp_link_args = [${@meson_array('TOOLCHAIN_OPTIONS', d)}]
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
system = '${HOST_OS}'
|
system = '${BUILD_OS}'
|
||||||
cpu_family = '${HOST_ARCH}'
|
cpu_family = '${BUILD_ARCH}'
|
||||||
cpu = '${HOST_ARCH}'
|
cpu = '${BUILD_ARCH}'
|
||||||
endian = '${MESON_HOST_ENDIAN}'
|
endian = '${MESON_HOST_ENDIAN}'
|
||||||
|
|
||||||
[target_machine]
|
[target_machine]
|
||||||
|
|||||||
Reference in New Issue
Block a user