xref: /openbmc/qemu/hw/core/meson.build (revision 2f95279a)
1# core qdev-related obj files, also used by *-user and unit tests
2hwcore_ss.add(files(
3  'bus.c',
4  'qdev-properties.c',
5  'qdev.c',
6  'resetcontainer.c',
7  'resettable.c',
8  'vmstate-if.c',
9  # irq.c needed for qdev GPIO handling:
10  'irq.c',
11  'clock.c',
12  'qdev-clock.c',
13))
14
15common_ss.add(files('cpu-common.c'))
16common_ss.add(files('machine-smp.c'))
17system_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
18system_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loader.c'))
19system_ss.add(when: 'CONFIG_GUEST_LOADER', if_true: files('guest-loader.c'))
20system_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
21system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
22system_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
23system_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
24system_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
25system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
26system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
27
28system_ss.add(files(
29  'cpu-sysemu.c',
30  'fw-path-provider.c',
31  'gpio.c',
32  'hotplug.c',
33  'loader.c',
34  'machine-hmp-cmds.c',
35  'machine-qmp-cmds.c',
36  'machine.c',
37  'nmi.c',
38  'null-machine.c',
39  'numa.c',
40  'qdev-fw.c',
41  'qdev-hotplug.c',
42  'qdev-properties-system.c',
43  'reset.c',
44  'sysbus.c',
45  'vm-change-state-handler.c',
46  'clock-vmstate.c',
47))
48