xref: /openbmc/qemu/system/meson.build (revision 4921d0a7)
1specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_true: [files(
2  'arch_init.c',
3  'ioport.c',
4  'memory.c',
5  'physmem.c',
6  'watchpoint.c',
7)])
8
9system_ss.add(files(
10  'balloon.c',
11  'bootdevice.c',
12  'cpus.c',
13  'cpu-throttle.c',
14  'cpu-timers.c',
15  'datadir.c',
16  'dirtylimit.c',
17  'dma-helpers.c',
18  'globals.c',
19  'memory_mapping.c',
20  'qdev-monitor.c',
21  'qtest.c',
22  'rtc.c',
23  'runstate-action.c',
24  'runstate-hmp-cmds.c',
25  'runstate.c',
26  'tpm-hmp-cmds.c',
27  'vl.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: fdt, if_true: files('device_tree.c'))
36if host_os == 'linux'
37  system_ss.add(files('async-teardown.c'))
38endif
39