xref: /openbmc/linux/drivers/char/ipmi/Makefile (revision d66d0df9)
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
203cd83bacSCorey Minyardobj-$(CONFIG_IPMI_PLAT_DATA) += ipmi_plat_data.o
2125930707SCorey Minyardobj-$(CONFIG_IPMI_SSIF) += ipmi_ssif.o
2263c4eb34SCorey Minyardobj-$(CONFIG_IPMI_IPMB) += ipmi_ipmb.o
236a11e5c6SJeremy Kerrobj-$(CONFIG_IPMI_POWERNV) += ipmi_powernv.o
241da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_WATCHDOG) += ipmi_watchdog.o
251da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_POWEROFF) += ipmi_poweroff.o
267cafff99SAndrew Jefferyobj-$(CONFIG_IPMI_KCS_BMC) += kcs_bmc.o
273a3d2f6aSAndrew Jefferyobj-$(CONFIG_IPMI_KCS_BMC_SERIO) += kcs_bmc_serio.o
287cafff99SAndrew Jefferyobj-$(CONFIG_IPMI_KCS_BMC_CDEV_IPMI) += kcs_bmc_cdev_ipmi.o
29d66d0df9SAndrew Jefferyobj-$(CONFIG_IPMI_KCS_BMC_CDEV_RAW) += kcs_bmc_cdev_raw.o
3054f9c4d0SAlistair Poppleobj-$(CONFIG_ASPEED_BT_IPMI_BMC) += bt-bmc.o
31be2ed207SHaiyue Wangobj-$(CONFIG_ASPEED_KCS_IPMI_BMC) += kcs_bmc_aspeed.o
326b2e54f7SHaiyue Wangobj-$(CONFIG_NPCM7XX_KCS_IPMI_BMC) += kcs_bmc_npcm7xx.o
3351bd6f29SAsmaa Mnebhiobj-$(CONFIG_IPMB_DEVICE_INTERFACE) += ipmb_dev_int.o
34dd2bc5ccSQuan Nguyenobj-$(CONFIG_SSIF_IPMI_BMC) += ssif_bmc.o
35