2023-06-13 15:33:46 +02:00
|
|
|
specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', 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',
|
2023-03-28 19:31:17 +02:00
|
|
|
'watchpoint.c',
|
2020-08-19 13:17:19 +02:00
|
|
|
)])
|
|
|
|
|
2023-06-13 15:33:46 +02:00
|
|
|
specific_ss.add(when: ['CONFIG_SYSTEM_ONLY', 'CONFIG_TCG'], if_true: [files(
|
2022-12-09 14:47:52 +01:00
|
|
|
'icount.c',
|
2020-08-19 13:17:19 +02:00
|
|
|
)])
|
2020-10-06 09:01:22 +02:00
|
|
|
|
2023-06-13 15:33:47 +02:00
|
|
|
system_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',
|
2023-04-13 07:45:09 +02:00
|
|
|
'dirtylimit.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',
|
2023-04-11 20:34:18 +02:00
|
|
|
'qtest.c',
|
2021-05-16 20:00:20 +02:00
|
|
|
'rtc.c',
|
|
|
|
'runstate-action.c',
|
2023-01-24 13:19:35 +01:00
|
|
|
'runstate-hmp-cmds.c',
|
2021-05-16 20:00:20 +02:00
|
|
|
'runstate.c',
|
2023-01-24 13:19:34 +01:00
|
|
|
'tpm-hmp-cmds.c',
|
2021-05-16 20:00:20 +02:00
|
|
|
'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
|
2023-06-13 15:33:47 +02:00
|
|
|
system_ss.add(files('tpm.c'))
|
2021-12-21 12:38:27 +01:00
|
|
|
endif
|
|
|
|
|
2023-06-13 15:33:47 +02:00
|
|
|
system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
|
|
|
|
system_ss.add(when: fdt, if_true: files('device_tree.c'))
|