2017-10-29 14:10:51 +01:00
|
|
|
# Note: Buildroot's and Meson's terminologies differ about the meaning
|
|
|
|
# of 'build', 'host' and 'target':
|
|
|
|
# - Buildroot's 'host' is Meson's 'build'
|
|
|
|
# - Buildroot's 'target' is Meson's 'host'
|
|
|
|
|
|
|
|
[binaries]
|
|
|
|
c = '@TARGET_CROSS@gcc'
|
|
|
|
cpp = '@TARGET_CROSS@g++'
|
|
|
|
ar = '@TARGET_CROSS@ar'
|
|
|
|
strip = '@TARGET_CROSS@strip'
|
2020-02-05 11:33:04 +01:00
|
|
|
pkgconfig = '@HOST_DIR@/bin/pkgconf'
|
2017-10-29 14:10:51 +01:00
|
|
|
|
|
|
|
[properties]
|
2018-12-26 09:52:26 +01:00
|
|
|
needs_exe_wrapper = true
|
2017-10-29 14:10:51 +01:00
|
|
|
c_args = [@TARGET_CFLAGS@]
|
|
|
|
c_link_args = [@TARGET_LDFLAGS@]
|
|
|
|
cpp_args = [@TARGET_CXXFLAGS@]
|
|
|
|
cpp_link_args = [@TARGET_LDFLAGS@]
|
2020-02-05 11:33:04 +01:00
|
|
|
sys_root = '@STAGING_DIR@'
|
|
|
|
pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig'
|
2020-02-15 16:26:20 +01:00
|
|
|
pkg_config_static = '@STATIC@'
|
2017-10-29 14:10:51 +01:00
|
|
|
|
|
|
|
[host_machine]
|
|
|
|
system = 'linux'
|
|
|
|
cpu_family ='@TARGET_ARCH@'
|
|
|
|
cpu = '@TARGET_CPU@'
|
|
|
|
endian = '@TARGET_ENDIAN@'
|