xref: /openbmc/qemu/system/meson.build (revision 0d70c5aa1bbfb0f5099d53d6e084337a8246cc0c)
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  'vl.c',
8), sdl, libpmem, libdaxctl)
9
10system_ss.add(files(
11  'balloon.c',
12  'bootdevice.c',
13  'cpus.c',
14  'cpu-timers.c',
15  'datadir.c',
16  'dirtylimit.c',
17  'dma-helpers.c',
18  'globals.c',
19  'ioport.c',
20  'ram-block-attributes.c',
21  'memory_mapping.c',
22  'memory.c',
23  'physmem.c',
24  'qdev-monitor.c',
25  'qtest.c',
26  'rtc.c',
27  'runstate-action.c',
28  'runstate-hmp-cmds.c',
29  'runstate.c',
30  'tpm-hmp-cmds.c',
31  'watchpoint.c',
32))
33
34if have_tpm
35  system_ss.add(files('tpm.c'))
36endif
37
38system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
39system_ss.add(when: 'CONFIG_DEVICE_TREE',
40              if_true: [fdt, files('device_tree.c')],
41              if_false: files('device_tree-stub.c'))
42if host_os == 'linux'
43  system_ss.add(files('async-teardown.c'))
44endif
45