1# core qdev-related obj files, also used by *-user and unit tests 2hwcore_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 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_GUEST_LOADER', fdt], if_true: files('guest-loader.c')) 20common_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c')) 21common_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c')) 22common_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c')) 23common_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c')) 24common_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c')) 25common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c')) 26 27softmmu_ss.add(files( 28 'fw-path-provider.c', 29 'loader.c', 30 'machine-hmp-cmds.c', 31 'machine.c', 32 'nmi.c', 33 'null-machine.c', 34 'qdev-fw.c', 35 'qdev-properties-system.c', 36 'sysbus.c', 37 'vm-change-state-handler.c', 38 'clock-vmstate.c', 39)) 40 41specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files( 42 'machine-qmp-cmds.c', 43 'numa.c', 44)) 45