xref: /openbmc/linux/drivers/char/ipmi/Makefile (revision 1da177e4)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the ipmi drivers.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsipmi_si-objs := ipmi_si_intf.o ipmi_kcs_sm.o ipmi_smic_sm.o ipmi_bt_sm.o
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_HANDLER) += ipmi_msghandler.o
81da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_DEVICE_INTERFACE) += ipmi_devintf.o
91da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_SI) += ipmi_si.o
101da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_WATCHDOG) += ipmi_watchdog.o
111da177e4SLinus Torvaldsobj-$(CONFIG_IPMI_POWEROFF) += ipmi_poweroff.o
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsipmi_si.o:	$(ipmi_si-objs)
141da177e4SLinus Torvalds	$(LD) -r -o $@ $(ipmi_si-objs)
151da177e4SLinus Torvalds
16