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