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]
|
2022-01-31 22:17:55 +01:00
|
|
|
c = '@TARGET_CC@'
|
|
|
|
cpp = '@TARGET_CXX@'
|
|
|
|
ar = '@TARGET_AR@'
|
|
|
|
strip = '@TARGET_STRIP@'
|
2022-03-24 06:56:02 +01:00
|
|
|
cmake = '@BR2_CMAKE@'
|
2022-08-05 16:36:24 +02:00
|
|
|
fortran = '@TARGET_FC@'
|
2022-01-31 22:17:55 +01:00
|
|
|
pkgconfig = '@PKGCONF_HOST_BINARY@'
|
2020-05-16 22:53:53 +02:00
|
|
|
g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler'
|
|
|
|
g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner'
|
2017-10-29 14:10:51 +01:00
|
|
|
|
2020-12-27 03:15:05 +01:00
|
|
|
[built-in options]
|
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@]
|
2022-08-05 16:36:24 +02:00
|
|
|
fortran_args = [@TARGET_FCFLAGS@]
|
|
|
|
fortran_link_args = [@TARGET_LDFLAGS@]
|
2021-11-10 17:15:05 +01:00
|
|
|
wrap_mode = 'nodownload'
|
2022-03-24 06:56:02 +01:00
|
|
|
cmake_prefix_path = '@STAGING_DIR@/usr/lib/cmake'
|
2020-12-27 03:15:05 +01:00
|
|
|
|
|
|
|
[properties]
|
|
|
|
needs_exe_wrapper = true
|
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@'
|
2022-04-21 17:25:30 +02:00
|
|
|
# enable meson build to pass a toolchain file to cmake
|
|
|
|
cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake'
|
|
|
|
cmake_defaults = false
|
2017-10-29 14:10:51 +01:00
|
|
|
|
|
|
|
[host_machine]
|
|
|
|
system = 'linux'
|
2020-10-24 20:38:10 +02:00
|
|
|
cpu_family = '@TARGET_ARCH@'
|
2017-10-29 14:10:51 +01:00
|
|
|
cpu = '@TARGET_CPU@'
|
|
|
|
endian = '@TARGET_ENDIAN@'
|