1# Note: Buildroot's and Meson's terminologies differ about the meaning 2# of 'build', 'host' and 'target': 3# - Buildroot's 'host' is Meson's 'build' 4# - Buildroot's 'target' is Meson's 'host' 5 6[binaries] 7c = '@TARGET_CC@' 8cpp = '@TARGET_CXX@' 9ar = '@TARGET_AR@' 10strip = '@TARGET_STRIP@' 11cmake = '@BR2_CMAKE@' 12fortran = '@TARGET_FC@' 13pkgconfig = '@PKGCONF_HOST_BINARY@' 14g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler' 15g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner' 16 17[built-in options] 18c_args = [@TARGET_CFLAGS@] 19c_link_args = [@TARGET_LDFLAGS@] 20cpp_args = [@TARGET_CXXFLAGS@] 21cpp_link_args = [@TARGET_LDFLAGS@] 22fortran_args = [@TARGET_FCFLAGS@] 23fortran_link_args = [@TARGET_LDFLAGS@] 24wrap_mode = 'nodownload' 25cmake_prefix_path = '@STAGING_DIR@/usr/lib/cmake' 26 27[properties] 28needs_exe_wrapper = true 29sys_root = '@STAGING_DIR@' 30pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' 31pkg_config_static = '@STATIC@' 32# enable meson build to pass a toolchain file to cmake 33cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake' 34cmake_defaults = false 35 36[host_machine] 37system = 'linux' 38cpu_family = '@TARGET_ARCH@' 39cpu = '@TARGET_CPU@' 40endian = '@TARGET_ENDIAN@' 41