mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 10:53:30 +08:00
88dd3fcd72
python-scipy is moving to a meson build infrastructure, and requires fortran cross-compilation. This commit extends the cross-compilation configuration file generated for use by meson to add the "fortran", "fortran_args" and "fortran_link_args" properties. Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
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@'
|
|
pkgconfig = '@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@'
|