OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [message/] [fusion/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#
2
# Makefile for the LSI Logic Fusion MPT (Message Passing Technology) drivers.
3
#
4
# Note! Dependencies are done automagically by 'make dep', which also
5
# removes any old dependencies. DON'T put your own dependencies here
6
# unless it's something special (ie not a .c file).
7
#
8
# Note 2! The CFLAGS definition is now inherited from the
9
# parent makefile.
10
#
11
# Note 3! If you want to turn on various debug defines for an extended period of
12
# time but don't want them lingering around in the Makefile when you pass it on
13
# to someone else, use the MPT_CFLAGS env variable (thanks Steve). -nromer
14
 
15
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{ LSI_LOGIC
16
 
17
#  Architecture-specific...
18
#                       # intel
19
#EXTRA_CFLAGS += -g
20
#                       # sparc64
21
#EXTRA_CFLAGS += -gstabs+
22
 
23
EXTRA_CFLAGS += -I. ${MPT_CFLAGS}
24
 
25
# Fusion MPT drivers; recognized debug defines...
26
#  MPT general:
27
#EXTRA_CFLAGS += -DDEBUG
28
#EXTRA_CFLAGS += -DMPT_DEBUG
29
#EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
30
#EXTRA_CFLAGS += -DMPT_DEBUG_SG
31
#EXTRA_CFLAGS += -DMPTSCSIH_DBG_TIMEOUT
32
#
33
# driver/module specifics...
34
#
35
#  For mptbase:
36
#CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
37
#CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
38
#
39
#  For mptscsih:
40
#CFLAGS_mptscsih.o += -DMPT_DEBUG_DV
41
#CFLAGS_mptscsih.o += -DMPT_DEBUG_DV_TINY
42
#CFLAGS_mptscsih.o += -DMPT_DEBUG_RESET
43
#CFLAGS_mptscsih.o += -DMPT_DEBUG_NEH
44
#
45
#  For mptctl:
46
#CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
47
#
48
#  For mptlan:
49
#CFLAGS_mptlan.o += -DMPT_LAN_IO_DEBUG
50
#
51
#  For isense:
52
 
53
#  EXP...
54
##mptscsih-objs := scsihost.o scsiherr.o
55
 
56
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
57
 
58
O_TARGET := fusion.o
59
 
60
export-objs     := mptbase.o mptscsih.o mptlan.o mptctl.o isense.o
61
 
62
# ? what's list-multi for?
63
#list-multi     := fusion.o mptscsih.o
64
 
65
obj-$(CONFIG_FUSION)            += mptbase.o mptscsih.o
66
obj-$(CONFIG_FUSION_ISENSE)     += isense.o
67
obj-$(CONFIG_FUSION_CTL)        += mptctl.o
68
obj-$(CONFIG_FUSION_LAN)        += mptlan.o
69
 
70
O_OBJS          := $(filter-out         $(export-objs), $(obj-y))
71
OX_OBJS         := $(filter             $(export-objs), $(obj-y))
72
M_OBJS          := $(sort $(filter-out  $(export-objs), $(obj-m)))
73
MX_OBJS         := $(sort $(filter      $(export-objs), $(obj-m)))
74
 
75
include $(TOPDIR)/Rules.make
76
 
77
 
78
#  EXP...
79
## Fusion MPT extra's...
80
##mptscsih.o: $(mptscsih-objs)
81
##      $(LD) -r -o $@ $(mptscsih-objs)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.