]> git.proxmox.com Git - mirror_qemu.git/blame - hw/core/meson.build
Merge remote-tracking branch 'remotes/kraxel/tags/audio-20210316-pull-request' into...
[mirror_qemu.git] / hw / core / meson.build
CommitLineData
c92a3097
MAL
1# core qdev-related obj files, also used by *-user and unit tests
2hwcore_files = files(
3 'bus.c',
c92a3097
MAL
4 'hotplug.c',
5 'qdev-properties.c',
6 'qdev.c',
7 'reset.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
c92a3097
MAL
16common_ss.add(files('cpu.c'))
17common_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
18common_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loader.c'))
19common_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
20common_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
21common_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
22common_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
23common_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
24common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
25
26softmmu_ss.add(files(
98199a65 27 'fw-path-provider.c',
c92a3097
MAL
28 'loader.c',
29 'machine-hmp-cmds.c',
30 'machine.c',
31 'nmi.c',
32 'null-machine.c',
33 'qdev-fw.c',
34 'qdev-properties-system.c',
35 'sysbus.c',
36 'vm-change-state-handler.c',
37 'clock-vmstate.c',
38))
39
a33ff6d2
AB
40softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('guest-loader.c'))
41
c92a3097
MAL
42specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files(
43 'machine-qmp-cmds.c',
44 'numa.c',
45))