xref: /openbmc/qemu/semihosting/meson.build (revision 05caa062)
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  'config.c',
8  'console.c',
9  'uaccess.c',
10))
11
12common_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_false: files('stubs-all.c'))
13system_ss.add(when: ['CONFIG_SEMIHOSTING'], if_false: files('stubs-system.c'))
14
15specific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
16		if_true: files('arm-compat-semi.c'))
17