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