1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the ipmi drivers.
6 ipmi_si-y
:= ipmi_si_intf.o ipmi_kcs_sm.o ipmi_smic_sm.o ipmi_bt_sm.o \
7 ipmi_si_hotmod.o ipmi_si_hardcode.o ipmi_si_platform.o \
9 ipmi_si-
$(CONFIG_HAS_IOPORT
) += ipmi_si_port_io.o
10 ipmi_si-
$(CONFIG_PCI
) += ipmi_si_pci.o
11 ipmi_si-
$(CONFIG_PARISC
) += ipmi_si_parisc.o
13 obj-
$(CONFIG_IPMI_HANDLER
) += ipmi_msghandler.o
14 obj-
$(CONFIG_IPMI_DEVICE_INTERFACE
) += ipmi_devintf.o
15 obj-
$(CONFIG_IPMI_SI
) += ipmi_si.o
16 obj-
$(CONFIG_IPMI_DMI_DECODE
) += ipmi_dmi.o
17 obj-
$(CONFIG_IPMI_PLAT_DATA
) += ipmi_plat_data.o
18 obj-
$(CONFIG_IPMI_SSIF
) += ipmi_ssif.o
19 obj-
$(CONFIG_IPMI_IPMB
) += ipmi_ipmb.o
20 obj-
$(CONFIG_IPMI_POWERNV
) += ipmi_powernv.o
21 obj-
$(CONFIG_IPMI_WATCHDOG
) += ipmi_watchdog.o
22 obj-
$(CONFIG_IPMI_POWEROFF
) += ipmi_poweroff.o
23 obj-
$(CONFIG_IPMI_KCS_BMC
) += kcs_bmc.o
24 obj-
$(CONFIG_IPMI_KCS_BMC_SERIO
) += kcs_bmc_serio.o
25 obj-
$(CONFIG_IPMI_KCS_BMC_CDEV_IPMI
) += kcs_bmc_cdev_ipmi.o
26 obj-
$(CONFIG_ASPEED_BT_IPMI_BMC
) += bt-bmc.o
27 obj-
$(CONFIG_ASPEED_KCS_IPMI_BMC
) += kcs_bmc_aspeed.o
28 obj-
$(CONFIG_NPCM7XX_KCS_IPMI_BMC
) += kcs_bmc_npcm7xx.o
29 obj-
$(CONFIG_IPMB_DEVICE_INTERFACE
) += ipmb_dev_int.o
30 obj-
$(CONFIG_SSIF_IPMI_BMC
) += ssif_bmc.o