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