| # 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' |
| pkgconfig = '@PKGCONF_HOST_BINARY@' |
| g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler' |
| g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner' |
| 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@] |
| cmake_prefix_path = '@STAGING_DIR@/usr/lib/cmake' |
| 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' |
| cpu_family = '@TARGET_ARCH@' |
| endian = '@TARGET_ENDIAN@' |