xref: /openbmc/linux/drivers/message/fusion/Makefile (revision 0c33b27d)
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#
321da177e4SLinus Torvalds
331da177e4SLinus Torvalds#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
341da177e4SLinus Torvalds
35d335cc38SMoore, Eric Dean obj-$(CONFIG_FUSION_SPI)	+= mptbase.o mptscsih.o mptspi.o
36d335cc38SMoore, Eric Dean obj-$(CONFIG_FUSION_FC)		+= mptbase.o mptscsih.o mptfc.o
370c33b27dSChristoph Hellwigobj-$(CONFIG_FUSION_SAS)	+= mptbase.o mptscsih.o mptsas.o
381da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_CTL)	+= mptctl.o
391da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_LAN)	+= mptlan.o
40