xref: /openbmc/linux/drivers/message/fusion/Makefile (revision 5f5affdd)
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
355f5affddSMoore, Eric Dean obj-$(CONFIG_FUSION_SPI)	+= mptspi.o mptscsih.o mptbase.o
365f5affddSMoore, Eric Dean obj-$(CONFIG_FUSION_FC)		+= mptfc.o mptscsih.o mptbase.o
371da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_CTL)	+= mptctl.o
381da177e4SLinus Torvaldsobj-$(CONFIG_FUSION_LAN)	+= mptlan.o
39