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