[binaries]
c = 'riscv64-zephyr-elf-gcc'
ar = 'riscv64-zephyr-elf-ar'
as = 'riscv64-zephyr-elf-as'
nm = 'riscv64-zephyr-elf-nm'
strip = 'riscv64-zephyr-elf-strip'
exe_wrapper = ['sh', '-c', 'test -z "$MESON_SOURCE_ROOT" || "$MESON_SOURCE_ROOT"/scripts/run-riscv "$@"', 'run-riscv']

[host_machine]
system = 'zephyr
cpu_family = 'riscv'
cpu = 'riscv'
endian = 'little'

[properties]
c_args = [ '-nostdlib' ]
needs_exe_wrapper = true
skip_sanity_check = true
