]> git.proxmox.com Git - mirror_qemu.git/blob - hw/core/meson.build
hw/core: Restrict sysemu specific files
[mirror_qemu.git] / hw / core / meson.build
1 # core qdev-related obj files, also used by *-user and unit tests
2 hwcore_files = files(
3 'bus.c',
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
16 common_ss.add(files('cpu-common.c'))
17 softmmu_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
18 softmmu_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loader.c'))
19 softmmu_ss.add(when: ['CONFIG_GUEST_LOADER', fdt], if_true: files('guest-loader.c'))
20 softmmu_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
21 softmmu_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
22 softmmu_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
23 softmmu_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
24 softmmu_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
25 softmmu_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
26
27 softmmu_ss.add(files(
28 'cpu-sysemu.c',
29 'fw-path-provider.c',
30 'gpio.c',
31 'loader.c',
32 'machine-hmp-cmds.c',
33 'machine.c',
34 'nmi.c',
35 'null-machine.c',
36 'qdev-fw.c',
37 'qdev-properties-system.c',
38 'sysbus.c',
39 'vm-change-state-handler.c',
40 'clock-vmstate.c',
41 ))
42
43 specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files(
44 'machine-qmp-cmds.c',
45 'numa.c',
46 ))