1[binaries]
2# Meson 0.53.2 doesn't use any cflags when doing basic compiler tests,
3# so we have to add -nostdlib to the compiler configuration itself or
4# early compiler tests will fail. This can be removed when picolibc
5# requires at least version 0.54.2 of meson.
6c = ['mips-zephyr-elf-gcc', '-nostdlib', '-G0']
7cpp = ['mips-zephyr-elf-g++', '-nostdlib', '-G0']
8ar = 'mips-zephyr-elf-ar'
9as = 'mips-zephyr-elf-as'
10nm = 'mips-zephyr-elf-nm'
11strip = 'mips-zephyr-elf-strip'
12# only needed to run tests
13exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-mips "$@"', 'run-mips']
14
15[host_machine]
16system = 'zephyr'
17cpu_family = 'mips'
18cpu = 'mips'
19endian = 'little'
20
21[properties]
22skip_sanity_check = true
23has_link_defsym = true
24default_flash_addr = '0x80200000'
25default_flash_size = '0x00400000'
26default_ram_addr   = '0x80600000'
27default_ram_size   = '0x00200000'
28