xref: /openbmc/qemu/system/meson.build (revision 7d87775f)
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-timers.c',
14  'datadir.c',
15  'dirtylimit.c',
16  'dma-helpers.c',
17  'globals.c',
18  'memory_mapping.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), sdl, libpmem, libdaxctl)
28
29if have_tpm
30  system_ss.add(files('tpm.c'))
31endif
32
33system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
34system_ss.add(when: 'CONFIG_DEVICE_TREE',
35              if_true: [fdt, files('device_tree.c')],
36              if_false: files('device_tree-stub.c'))
37if host_os == 'linux'
38  system_ss.add(files('async-teardown.c'))
39endif
40