2 # Makefile for the LSI Logic Fusion MPT (Message Passing Technology) drivers.
4 # Note! If you want to turn on various debug defines for an extended period of
5 # time but don't want them lingering around in the Makefile when you pass it on
6 # to someone else, use the MPT_CFLAGS env variable (thanks Steve). -nromer
8 #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{ LSI_LOGIC
10 # Architecture-specific...
14 #EXTRA_CFLAGS += -gstabs+
16 EXTRA_CFLAGS += ${MPT_CFLAGS}
18 # Fusion MPT drivers; recognized debug defines...
20 #EXTRA_CFLAGS += -DMPT_DEBUG_SCSI
21 #EXTRA_CFLAGS += -DMPT_DEBUG
22 #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
23 #EXTRA_CFLAGS += -DMPT_DEBUG_SG
26 # driver/module specifics...
29 #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
30 #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
33 #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCANDV
34 #CFLAGS_mptscsih.o += -DMPT_DEBUG_RESET
35 #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEH
38 #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
41 #CFLAGS_mptlan.o += -DMPT_LAN_IO_DEBUG
46 ##mptscsih-objs := scsihost.o scsiherr.o
48 #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
50 obj-$(CONFIG_FUSION) += mptbase.o mptscsih.o
51 obj-$(CONFIG_FUSION_CTL) += mptctl.o
52 obj-$(CONFIG_FUSION_LAN) += mptlan.o