xref: /openbmc/linux/drivers/message/fusion/Makefile (revision 3bc7bf1d)
11da177e4SLinus Torvalds# Fusion MPT drivers; recognized debug defines...
21da177e4SLinus Torvalds#  MPT general:
31da177e4SLinus Torvalds#EXTRA_CFLAGS += -DMPT_DEBUG
41da177e4SLinus Torvalds#EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
51da177e4SLinus Torvalds#EXTRA_CFLAGS += -DMPT_DEBUG_SG
65f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS
75f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_INIT
85f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_EXIT
95f5affddSMoore, Eric Dean #EXTRA_CFLAGS += -DMPT_DEBUG_FAIL
105f5affddSMoore, Eric Dean 
111da177e4SLinus Torvalds
121da177e4SLinus Torvalds#
131da177e4SLinus Torvalds# driver/module specifics...
141da177e4SLinus Torvalds#
151da177e4SLinus Torvalds#  For mptbase:
161da177e4SLinus Torvalds#CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
175f5affddSMoore, Eric Dean #CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG
185f5affddSMoore, Eric Dean #CFLAGS_mptbase.o += -DMPT_DEBUG_DL
191da177e4SLinus Torvalds#CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
205f5affddSMoore, Eric Dean #CFLAGS_mptbase.o += -DMPT_DEBUG_RESET
211da177e4SLinus Torvalds#
221da177e4SLinus Torvalds#  For mptscsih:
235f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_DV
245f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO
255f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_TM
265f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI
275f5affddSMoore, Eric Dean #CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY
281da177e4SLinus Torvalds#
291da177e4SLinus Torvalds#  For mptctl:
301da177e4SLinus Torvalds#CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
311da177e4SLinus Torvalds#
323bc7bf1dSMichael Reed#  For mptfc:
333bc7bf1dSMichael Reed#CFLAGS_mptfc.o += -DMPT_DEBUG_FC
341da177e4SLinus Torvalds
351da177e4SLinus Torvalds#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
361da177e4SLinus Torvalds
37d335cc38SMoore, Eric Dean obj-$(CONFIG_FUSION_SPI)	+= mptbase.o mptscsih.o mptspi.o
38d335cc38SMoore, Eric Dean obj-$(CONFIG_FUSION_FC)		+= mptbase.o mptscsih.o mptfc.o
390c33b27dSChristoph Hellwigobj-$(CONFIG_FUSION_SAS)	+= mptbase.o mptscsih.o mptsas.o
401da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_CTL)	+= mptctl.o
411da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_LAN)	+= mptlan.o
42