xref: /OK3568_Linux_fs/buildroot/support/misc/cross-compilation.conf.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# Note: Buildroot's and Meson's terminologies differ about the meaning
2*4882a593Smuzhiyun# of 'build', 'host' and 'target':
3*4882a593Smuzhiyun# - Buildroot's 'host' is Meson's 'build'
4*4882a593Smuzhiyun# - Buildroot's 'target' is Meson's 'host'
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun[binaries]
7*4882a593Smuzhiyunc = '@TARGET_CC@'
8*4882a593Smuzhiyuncpp = '@TARGET_CXX@'
9*4882a593Smuzhiyunar = '@TARGET_AR@'
10*4882a593Smuzhiyunstrip = '@TARGET_STRIP@'
11*4882a593Smuzhiyuncmake = '@BR2_CMAKE@'
12*4882a593Smuzhiyunfortran = '@TARGET_FC@'
13*4882a593Smuzhiyunpkgconfig = '@PKGCONF_HOST_BINARY@'
14*4882a593Smuzhiyung-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler'
15*4882a593Smuzhiyung-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner'
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun[built-in options]
18*4882a593Smuzhiyunc_args = [@TARGET_CFLAGS@]
19*4882a593Smuzhiyunc_link_args = [@TARGET_LDFLAGS@]
20*4882a593Smuzhiyuncpp_args = [@TARGET_CXXFLAGS@]
21*4882a593Smuzhiyuncpp_link_args = [@TARGET_LDFLAGS@]
22*4882a593Smuzhiyunfortran_args = [@TARGET_FCFLAGS@]
23*4882a593Smuzhiyunfortran_link_args = [@TARGET_LDFLAGS@]
24*4882a593Smuzhiyunwrap_mode = 'nodownload'
25*4882a593Smuzhiyuncmake_prefix_path = '@STAGING_DIR@/usr/lib/cmake'
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun[properties]
28*4882a593Smuzhiyunneeds_exe_wrapper = true
29*4882a593Smuzhiyunsys_root = '@STAGING_DIR@'
30*4882a593Smuzhiyunpkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig'
31*4882a593Smuzhiyunpkg_config_static = '@STATIC@'
32*4882a593Smuzhiyun# enable meson build to pass a toolchain file to cmake
33*4882a593Smuzhiyuncmake_toolchain_file = '@HOST_DIR@/share/buildroot/toolchainfile.cmake'
34*4882a593Smuzhiyuncmake_defaults = false
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun[host_machine]
37*4882a593Smuzhiyunsystem = 'linux'
38*4882a593Smuzhiyuncpu_family = '@TARGET_ARCH@'
39*4882a593Smuzhiyuncpu = '@TARGET_CPU@'
40*4882a593Smuzhiyunendian = '@TARGET_ENDIAN@'
41