2020-08-19 13:17:19 +02:00
|
|
|
specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
|
2020-08-06 13:40:26 +02:00
|
|
|
'arch_init.c',
|
|
|
|
'ioport.c',
|
|
|
|
'memory.c',
|
2021-05-16 20:00:20 +02:00
|
|
|
'physmem.c',
|
2020-08-06 13:40:26 +02:00
|
|
|
'qtest.c',
|
2022-06-25 19:38:33 +02:00
|
|
|
'dirtylimit.c',
|
2020-08-19 13:17:19 +02:00
|
|
|
)])
|
|
|
|
|
|
|
|
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
|
|
|
|
'icount.c'
|
|
|
|
)])
|
2020-10-06 09:01:22 +02:00
|
|
|
|
|
|
|
softmmu_ss.add(files(
|
2021-05-16 20:00:20 +02:00
|
|
|
'balloon.c',
|
2020-10-06 09:01:22 +02:00
|
|
|
'bootdevice.c',
|
2021-05-16 20:00:20 +02:00
|
|
|
'cpus.c',
|
|
|
|
'cpu-throttle.c',
|
|
|
|
'cpu-timers.c',
|
|
|
|
'datadir.c',
|
2020-10-06 09:01:22 +02:00
|
|
|
'dma-helpers.c',
|
2021-05-16 20:00:20 +02:00
|
|
|
'globals.c',
|
|
|
|
'memory_mapping.c',
|
2020-10-06 09:01:22 +02:00
|
|
|
'qdev-monitor.c',
|
2021-05-16 20:00:20 +02:00
|
|
|
'rtc.c',
|
|
|
|
'runstate-action.c',
|
|
|
|
'runstate.c',
|
|
|
|
'vl.c',
|
2020-10-06 09:05:29 +02:00
|
|
|
), sdl, libpmem, libdaxctl)
|
2020-10-06 09:01:22 +02:00
|
|
|
|
2021-12-21 12:38:27 +01:00
|
|
|
if have_tpm
|
|
|
|
softmmu_ss.add(files('tpm.c'))
|
|
|
|
endif
|
|
|
|
|
2020-11-17 14:22:24 +01:00
|
|
|
softmmu_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
|
2020-10-06 09:01:22 +02:00
|
|
|
softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
|