xref: /qemu/system/meson.build (revision 4d3ad3c3ba1f1e9c217d0581e4913a59ef2ac15f)
1specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_true: [files(
2  'arch_init.c',
3  'globals-target.c',
4)])
5
6system_ss.add(files(
7  'balloon.c',
8  'bootdevice.c',
9  'cpus.c',
10  'cpu-timers.c',
11  'datadir.c',
12  'dirtylimit.c',
13  'dma-helpers.c',
14  'globals.c',
15  'ioport.c',
16  'memory_mapping.c',
17  'memory.c',
18  'physmem.c',
19  'qdev-monitor.c',
20  'qtest.c',
21  'rtc.c',
22  'runstate-action.c',
23  'runstate-hmp-cmds.c',
24  'runstate.c',
25  'tpm-hmp-cmds.c',
26  'vl.c',
27  'watchpoint.c',
28), sdl, libpmem, libdaxctl)
29
30if have_tpm
31  system_ss.add(files('tpm.c'))
32endif
33
34system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
35system_ss.add(when: 'CONFIG_DEVICE_TREE',
36              if_true: [fdt, files('device_tree.c')],
37              if_false: files('device_tree-stub.c'))
38if host_os == 'linux'
39  system_ss.add(files('async-teardown.c'))
40endif
41