summaryrefslogtreecommitdiffstats
path: root/hw/ipmi/meson.build
diff options
context:
space:
mode:
authorMarc-André Lureau2019-08-16 16:22:36 +0200
committerPaolo Bonzini2020-08-21 12:30:29 +0200
commita7b9b7d1d709ba2c5e089f9d69f00df7404c43f7 (patch)
tree72c657d906d754aabce954acaaee8646a9c8fa8c /hw/ipmi/meson.build
parentmeson: convert hw/isa (diff)
downloadqemu-a7b9b7d1d709ba2c5e089f9d69f00df7404c43f7.tar.gz
qemu-a7b9b7d1d709ba2c5e089f9d69f00df7404c43f7.tar.xz
qemu-a7b9b7d1d709ba2c5e089f9d69f00df7404c43f7.zip
meson: convert hw/ipmi
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ipmi/meson.build')
-rw-r--r--hw/ipmi/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/ipmi/meson.build b/hw/ipmi/meson.build
new file mode 100644
index 0000000000..9622ea2a2c
--- /dev/null
+++ b/hw/ipmi/meson.build
@@ -0,0 +1,11 @@
+ipmi_ss = ss.source_set()
+ipmi_ss.add(when: 'CONFIG_IPMI', if_true: files('ipmi.c', 'ipmi_kcs.c', 'ipmi_bt.c'))
+ipmi_ss.add(when: 'CONFIG_IPMI_LOCAL', if_true: files('ipmi_bmc_sim.c'))
+ipmi_ss.add(when: 'CONFIG_IPMI_EXTERN', if_true: files('ipmi_bmc_extern.c'))
+ipmi_ss.add(when: 'CONFIG_ISA_IPMI_KCS', if_true: files('isa_ipmi_kcs.c'))
+ipmi_ss.add(when: 'CONFIG_PCI_IPMI_KCS', if_true: files('pci_ipmi_kcs.c'))
+ipmi_ss.add(when: 'CONFIG_ISA_IPMI_BT', if_true: files('isa_ipmi_bt.c'))
+ipmi_ss.add(when: 'CONFIG_PCI_IPMI_BT', if_true: files('pci_ipmi_bt.c'))
+ipmi_ss.add(when: 'CONFIG_IPMI_SSIF', if_true: files('smbus_ipmi.c'))
+
+softmmu_ss.add_all(when: 'CONFIG_IPMI', if_true: ipmi_ss)