xref: /qemu/semihosting/meson.build (revision 70ce076fa6dff60585c229a4b641b13e64bf03cf)
1specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
2  'guestfd.c',
3  'syscalls.c',
4))
5
6specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_true: files(
7  'uaccess.c',
8))
9
10common_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_false: files('stubs-all.c'))
11system_ss.add(when: ['CONFIG_SEMIHOSTING'], if_true: files(
12  'config.c',
13  'console.c',
14), if_false: files(
15  'stubs-system.c',
16))
17
18specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
19		if_true: files('arm-compat-semi.c'))
20