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