xref: /linux/drivers/message/fusion/Makefile (revision 6e8331ac6973435b1e7604c30f2ad394035b46e1)
1# Fusion MPT drivers; recognized debug defines...
2#  MPT general:
3#EXTRA_CFLAGS += -DMPT_DEBUG
4#EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
5#EXTRA_CFLAGS += -DMPT_DEBUG_SG
6#EXTRA_CFLAGS += -DMPT_DEBUG_EVENTS
7#EXTRA_CFLAGS += -DMPT_DEBUG_VERBOSE_EVENTS
8#EXTRA_CFLAGS += -DMPT_DEBUG_INIT
9#EXTRA_CFLAGS += -DMPT_DEBUG_EXIT
10#EXTRA_CFLAGS += -DMPT_DEBUG_FAIL
11
12#
13# driver/module specifics...
14#
15#  For mptbase:
16#CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
17#CFLAGS_mptbase.o += -DMPT_DEBUG_CONFIG
18#CFLAGS_mptbase.o += -DMPT_DEBUG_DL
19#CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
20#CFLAGS_mptbase.o += -DMPT_DEBUG_RESET
21#
22#  For mptscsih:
23#CFLAGS_mptscsih.o += -DMPT_DEBUG_DV
24#CFLAGS_mptscsih.o += -DMPT_DEBUG_NEGO
25#CFLAGS_mptscsih.o += -DMPT_DEBUG_TM
26#CFLAGS_mptscsih.o += -DMPT_DEBUG_SCSI
27#CFLAGS_mptscsih.o += -DMPT_DEBUG_REPLY
28#
29#  For mptctl:
30#CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
31#
32#  For mptfc:
33#CFLAGS_mptfc.o += -DMPT_DEBUG_FC
34
35#  For mptsas:
36#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS
37#CFLAGS_mptsas.o += -DMPT_DEBUG_SAS_WIDE
38
39
40#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
41
42obj-$(CONFIG_FUSION_SPI)	+= mptbase.o mptscsih.o mptspi.o
43obj-$(CONFIG_FUSION_FC)		+= mptbase.o mptscsih.o mptfc.o
44obj-$(CONFIG_FUSION_SAS)	+= mptbase.o mptscsih.o mptsas.o
45obj-$(CONFIG_FUSION_CTL)	+= mptctl.o
46obj-$(CONFIG_FUSION_LAN)	+= mptlan.o
47