cross-compilation.conf.in 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. [binaries]
  6. c = '@TARGET_CC@'
  7. cpp = '@TARGET_CXX@'
  8. ar = '@TARGET_AR@'
  9. strip = '@TARGET_STRIP@'
  10. cmake = '@BR2_CMAKE@'
  11. fortran = '@TARGET_FC@'
  12. pkg-config = '@PKGCONF_HOST_BINARY@'
  13. g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler'
  14. g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner'
  15. [built-in options]
  16. c_args = [@TARGET_CFLAGS@]
  17. c_link_args = [@TARGET_LDFLAGS@]
  18. cpp_args = [@TARGET_CXXFLAGS@]
  19. cpp_link_args = [@TARGET_LDFLAGS@]
  20. fortran_args = [@TARGET_FCFLAGS@]
  21. fortran_link_args = [@TARGET_LDFLAGS@]
  22. wrap_mode = 'nodownload'
  23. cmake_prefix_path = '@STAGING_DIR@/usr/lib/cmake'
  24. [properties]
  25. needs_exe_wrapper = true
  26. sys_root = '@STAGING_DIR@'
  27. pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig'
  28. pkg_config_static = '@STATIC@'
  29. # enable meson build to pass a toolchain file to cmake
  30. cmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake'
  31. cmake_defaults = false
  32. [host_machine]
  33. system = 'linux'
  34. cpu_family = '@TARGET_ARCH@'
  35. cpu = '@TARGET_CPU@'
  36. endian = '@TARGET_ENDIAN@'