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 = ['aarch64-linux-gnu-gcc', '-nostdlib', '-Wl,--build-id=none', '-Wl,--no-warn-rwx-segments']
7cpp = ['aarch64-linux-gnu-g++', '-nostdlib', '-Wl,--build-id=none', '-Wl,--no-warn-rwx-segments']
8ar = 'aarch64-linux-gnu-ar'
9as = 'aarch64-linux-gnu-as'
10ld = 'aarch64-linux-gnu-ld'
11nm = 'aarch64-linux-gnu-nm'
12strip = 'aarch64-linux-gnu-strip'
13# only needed to run tests
14exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-aarch64 "$@"', 'run-aarch64']
15
16[host_machine]
17system = 'linux'
18cpu_family = 'aarch64'
19cpu = 'aarch64'
20endian = 'little'
21
22[properties]
23skip_sanity_check = true
24need_exe_wrapper = true
25link_spec = '--build-id=none --no-warn-rwx-segments'
26specs_extra = ['*libgcc:', '-lgcc']
27default_flash_addr = '0x40000000'
28default_flash_size = '0x00400000'
29default_ram_addr   = '0x40400000'
30default_ram_size   = '0x00200000'
31