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