xref: /openbmc/linux/drivers/char/ipmi/Makefile (revision 3cd83bac481dc4fde8bedf09c8aecb3652e7e547)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the ipmi drivers.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
644814ec9SCorey Minyardipmi_si-y := ipmi_si_intf.o ipmi_kcs_sm.o ipmi_smic_sm.o ipmi_bt_sm.o \
758e27635SCorey Minyard	ipmi_si_hotmod.o ipmi_si_hardcode.o ipmi_si_platform.o \
858e27635SCorey Minyard	ipmi_si_port_io.o ipmi_si_mem_io.o
913d0b35cSCorey Minyardifdef CONFIG_PCI
1013d0b35cSCorey Minyardipmi_si-y += ipmi_si_pci.o
1113d0b35cSCorey Minyardendif
12c6f85a75SCorey Minyardifdef CONFIG_PARISC
13c6f85a75SCorey Minyardipmi_si-y += ipmi_si_parisc.o
14c6f85a75SCorey Minyardendif
151da177e4SLinus Torvalds
161da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_HANDLER) += ipmi_msghandler.o
171da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_DEVICE_INTERFACE) += ipmi_devintf.o
181da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_SI) += ipmi_si.o
199f88145fSCorey Minyardobj-$(CONFIG_IPMI_DMI_DECODE) += ipmi_dmi.o
20*3cd83bacSCorey Minyardobj-$(CONFIG_IPMI_PLAT_DATA) += ipmi_plat_data.o
2125930707SCorey Minyardobj-$(CONFIG_IPMI_SSIF) += ipmi_ssif.o
226a11e5c6SJeremy Kerrobj-$(CONFIG_IPMI_POWERNV) += ipmi_powernv.o
231da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_WATCHDOG) += ipmi_watchdog.o
241da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_POWEROFF) += ipmi_poweroff.o
2520d60f61SHaiyue Wangobj-$(CONFIG_IPMI_KCS_BMC) += kcs_bmc.o
2654f9c4d0SAlistair Poppleobj-$(CONFIG_ASPEED_BT_IPMI_BMC) += bt-bmc.o
27be2ed207SHaiyue Wangobj-$(CONFIG_ASPEED_KCS_IPMI_BMC) += kcs_bmc_aspeed.o
286b2e54f7SHaiyue Wangobj-$(CONFIG_NPCM7XX_KCS_IPMI_BMC) += kcs_bmc_npcm7xx.o
29