meson.build 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # core qdev-related obj files, also used by *-user and unit tests
  2. hwcore_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. common_ss.add(files('cpu-common.c'))
  15. common_ss.add(files('machine-smp.c'))
  16. system_ss.add(when: 'CONFIG_FITLOADER', if_true: files('loader-fit.c'))
  17. system_ss.add(when: 'CONFIG_GENERIC_LOADER', if_true: files('generic-loader.c'))
  18. system_ss.add(when: 'CONFIG_GUEST_LOADER', if_true: files('guest-loader.c'))
  19. system_ss.add(when: 'CONFIG_OR_IRQ', if_true: files('or-irq.c'))
  20. system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('platform-bus.c'))
  21. system_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
  22. system_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
  23. system_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
  24. system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
  25. system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
  26. system_ss.add(when: 'CONFIG_EIF', if_true: [files('eif.c'), zlib, libcbor, gnutls])
  27. system_ss.add(files(
  28. 'cpu-system.c',
  29. 'fw-path-provider.c',
  30. 'gpio.c',
  31. 'hotplug.c',
  32. 'loader.c',
  33. 'machine-hmp-cmds.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. user_ss.add(files(
  48. 'cpu-user.c',
  49. 'qdev-user.c',
  50. ))