xref: /openbmc/qemu/hw/ipmi/meson.build (revision cab35c73be9d579db105ef73fa8a60728a890098)
1a7b9b7d1SMarc-André Lureauipmi_ss = ss.source_set()
2a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_IPMI', if_true: files('ipmi.c', 'ipmi_kcs.c', 'ipmi_bt.c'))
3a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_IPMI_LOCAL', if_true: files('ipmi_bmc_sim.c'))
4a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_IPMI_EXTERN', if_true: files('ipmi_bmc_extern.c'))
5a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_ISA_IPMI_KCS', if_true: files('isa_ipmi_kcs.c'))
6a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_PCI_IPMI_KCS', if_true: files('pci_ipmi_kcs.c'))
7a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_ISA_IPMI_BT', if_true: files('isa_ipmi_bt.c'))
8a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_PCI_IPMI_BT', if_true: files('pci_ipmi_bt.c'))
9a7b9b7d1SMarc-André Lureauipmi_ss.add(when: 'CONFIG_IPMI_SSIF', if_true: files('smbus_ipmi.c'))
10a7b9b7d1SMarc-André Lureau
11*de6cd759SPhilippe Mathieu-Daudésystem_ss.add_all(when: 'CONFIG_IPMI', if_true: ipmi_ss)
12