41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# 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_CC@'
|
|
cpp = '@TARGET_CXX@'
|
|
ar = '@TARGET_AR@'
|
|
strip = '@TARGET_STRIP@'
|
|
cmake = '@BR2_CMAKE@'
|
|
fortran = '@TARGET_FC@'
|
|
pkg-config = '@PKGCONF_HOST_BINARY@'
|
|
g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler'
|
|
g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner'
|
|
|
|
[built-in options]
|
|
c_args = [@TARGET_CFLAGS@]
|
|
c_link_args = [@TARGET_LDFLAGS@]
|
|
cpp_args = [@TARGET_CXXFLAGS@]
|
|
cpp_link_args = [@TARGET_LDFLAGS@]
|
|
fortran_args = [@TARGET_FCFLAGS@]
|
|
fortran_link_args = [@TARGET_LDFLAGS@]
|
|
wrap_mode = 'nodownload'
|
|
cmake_prefix_path = '@STAGING_DIR@/usr/lib/cmake'
|
|
|
|
[properties]
|
|
needs_exe_wrapper = true
|
|
sys_root = '@STAGING_DIR@'
|
|
pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig'
|
|
pkg_config_static = '@STATIC@'
|
|
# enable meson build to pass a toolchain file to cmake
|
|
cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake'
|
|
cmake_defaults = false
|
|
|
|
[host_machine]
|
|
system = 'linux'
|
|
cpu_family = '@TARGET_ARCH@'
|
|
cpu = '@TARGET_CPU@'
|
|
endian = '@TARGET_ENDIAN@'
|