xref: /openbmc/qemu/semihosting/meson.build (revision 13b1e9667737132440f4d500c31cb69320c6b15a)
11c6ff720SRichard Hendersonspecific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
21c6ff720SRichard Henderson  'guestfd.c',
35b3f39cbSRichard Henderson  'syscalls.c',
41c6ff720SRichard Henderson))
51c6ff720SRichard Henderson
6c7b64948SPhilippe Mathieu-Daudéspecific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_true: files(
78df9f0c3SPhilippe Mathieu-Daudé  'config.c',
88df9f0c3SPhilippe Mathieu-Daudé  'console.c',
90a922181SRichard Henderson  'uaccess.c',
108df9f0c3SPhilippe Mathieu-Daudé))
118df9f0c3SPhilippe Mathieu-Daudé
12*5837db46SPaolo Bonzinicommon_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SYSTEM_ONLY'], if_false: files('stubs-all.c'))
13*5837db46SPaolo Bonzinisystem_ss.add(when: ['CONFIG_SEMIHOSTING'], if_false: files('stubs-system.c'))
14*5837db46SPaolo Bonzini
158df9f0c3SPhilippe Mathieu-Daudéspecific_ss.add(when: ['CONFIG_ARM_COMPATIBLE_SEMIHOSTING'],
168df9f0c3SPhilippe Mathieu-Daudé		if_true: files('arm-compat-semi.c'))
17