2
0

meson.build 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # core qdev-related obj files, also used by *-user and unit tests
  2. hwcore_files = files(
  3. 'bus.c',
  4. 'fw-path-provider.c',
  5. 'hotplug.c',
  6. 'qdev-properties.c',
  7. 'qdev.c',
  8. 'reset.c',
  9. 'resettable.c',
  10. 'vmstate-if.c',
  11. # irq.c needed for qdev GPIO handling:
  12. 'irq.c',
  13. 'clock.c',
  14. 'qdev-clock.c',
  15. )
  16. common_ss.add(files('cpu.c'))
  17. common_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
  18. common_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loader.c'))
  19. common_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
  20. common_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
  21. common_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
  22. common_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
  23. common_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
  24. common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
  25. softmmu_ss.add(files(
  26. 'loader.c',
  27. 'machine-hmp-cmds.c',
  28. 'machine.c',
  29. 'nmi.c',
  30. 'null-machine.c',
  31. 'qdev-fw.c',
  32. 'qdev-properties-system.c',
  33. 'sysbus.c',
  34. 'vm-change-state-handler.c',
  35. 'clock-vmstate.c',
  36. ))
  37. specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files(
  38. 'machine-qmp-cmds.c',
  39. 'numa.c',
  40. ))