1# 2# Makefile for the ipmi drivers. 3# 4 5O_TARGET := ipmi.o 6 7export-objs := ipmi_msghandler.o ipmi_watchdog.o 8 9list-multi := ipmi_kcs_drv.o 10ipmi_kcs_drv-objs := ipmi_kcs_sm.o ipmi_kcs_intf.o 11 12obj-$(CONFIG_IPMI_HANDLER) += ipmi_msghandler.o 13obj-$(CONFIG_IPMI_DEVICE_INTERFACE) += ipmi_devintf.o 14obj-$(CONFIG_IPMI_KCS) += ipmi_kcs_drv.o 15obj-$(CONFIG_IPMI_WATCHDOG) += ipmi_watchdog.o 16 17include $(TOPDIR)/Rules.make 18 19ipmi_kcs_drv.o: $(ipmi_kcs_drv-objs) 20 $(LD) -r -o $@ $(ipmi_kcs_drv-objs) 21