| 1 | # core qdev-related obj files, also used by *-user and unit tests |
| 2 | hwcore_ss.add(files( |
| 3 | 'bus.c', |
| 4 | 'gpio.c', |
| 5 | 'qdev-properties.c', |
| 6 | 'qdev.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 | |
| 16 | common_ss.add(files('cpu-common.c')) |
| 17 | common_ss.add(files('machine-smp.c')) |
| 18 | system_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c')) |
| 19 | system_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loader.c')) |
| 20 | system_ss.add(when: 'CONFIG_GUEST_LOADER', if_true: files('guest-loader.c')) |
| 21 | system_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c')) |
| 22 | system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c')) |
| 23 | system_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c')) |
| 24 | system_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c')) |
| 25 | system_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c')) |
| 26 | system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c')) |
| 27 | system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c')) |
| 28 | system_ss.add(when: 'CONFIG_EIF', if_true: [files('eif.c'), zlib, libcbor, gnutls]) |
| 29 | system_ss.add(files( |
| 30 | 'cpu-system.c', |
| 31 | 'fw-path-provider.c', |
| 32 | 'hotplug.c', |
| 33 | 'loader.c', |
| 34 | 'machine-qmp-cmds.c', |
| 35 | 'machine.c', |
| 36 | 'nmi.c', |
| 37 | 'null-machine.c', |
| 38 | 'numa.c', |
| 39 | 'qdev-fw.c', |
| 40 | 'qdev-hotplug.c', |
| 41 | 'qdev-properties-system.c', |
| 42 | 'reset.c', |
| 43 | 'sysbus.c', |
| 44 | 'vm-change-state-handler.c', |
| 45 | 'clock-vmstate.c', |
| 46 | )) |
| 47 | if have_hmp |
| 48 | system_ss.add(files('machine-hmp-cmds.c')) |
| 49 | endif |
| 50 | user_ss.add(files( |
| 51 | 'cpu-user.c', |
| 52 | 'qdev-user.c', |
| 53 | )) |