xref: /qemu/semihosting/meson.build (revision b103cc6e74ac92f070a0e004bd84334e845c20b5)
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', if_false: files('stubs-all.c'))
11user_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files('user.c'))
12system_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
13  'config.c',
14  'console.c',
15), if_false: files(
16  'stubs-system.c',
17))
18
19specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
20		if_true: files('arm-compat-semi.c'))
21