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