#See https://mesonbuild.com/Cross-compilation.html
#and https://mesonbuild.com/Machine-files.html
#and https://mesonbuild.com/Reference-tables.html#cpu-families
#NOTE: This may work with debian as well.
#example usage of this file:
#    meson --buildtype=release --cross-file=./meson_crosscompile/ubuntu_mips64el.txt crossbuild_mips64el
#    ninja -C crossbuild_mips64el


[binaries]
c = '/usr/bin/mips64el-linux-gnuabi64-gcc'
ar = '/usr/mips64el-linux-gnuabi64/bin/ar'
strip = '/usr/mips64el-linux-gnuabi64/bin/strip'
pkgconfig = '/usr/bin/mips64el-linux-gnuabi64-pkg-config'
ld = '/usr/bin/arm-linux/gnueabihf-ld'

[properties]
root = '/usr/mips64el-linux-gnuabi64'
has_function_printf = true
skip_sanity_check = true

[host_machine]
system = 'linux'
cpu_family = 'mips64'
cpu = ''
endian = 'little'
