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 = ['ccache', 'sparc-zephyr-elf-gcc', '-msoft-float', '-fno-pic', '-fno-PIE', '-static', '-nostdlib']
7ar = 'sparc-zephyr-elf-ar'
8as = 'sparc-zephyr-elf-as'
9nm = 'sparc-zephyr-elf-nm'
10strip = 'sparc-zephyr-elf-strip'
11objcopy = 'sparc-zephyr-elf-objcopy'
12exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-sparc "$@"', 'run-sparc']
13
14[host_machine]
15system='linux'
16cpu_family='sparc'
17cpu='sparc'
18endian='little'
19
20[properties]
21skip_sanity_check = true
22needs_exe_wrapper = true
23has_link_defsym = true
24default_flash_addr = '0x40000000'
25default_flash_size = '0x00400000'
26default_ram_addr   = '0x40400000'
27default_ram_size   = '0x00200000'
28