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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [block/] [Makefile] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#
2
# Makefile for the kernel block device 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
 
12
#
13
# Note : at this point, these files are compiled on all systems.
14
# In the future, some of these should be built conditionally.
15
#
16
 
17
 
18
L_TARGET := block.a
19
L_OBJS   := ll_rw_blk.o genhd.o
20
M_OBJS   :=
21
MOD_LIST_NAME := BLOCK_MODULES
22
LX_OBJS :=
23
 
24
ifeq ($(CONFIG_BLK_DEV_FD),y)
25
L_OBJS += floppy.o
26
else
27
  ifeq ($(CONFIG_BLK_DEV_FD),m)
28
  M_OBJS += floppy.o
29
  endif
30
endif
31
 
32
ifeq ($(CONFIG_BLK_DEV_RAM),y)
33
L_OBJS += rd.o
34
else
35
  ifeq ($(CONFIG_BLK_DEV_RAM),m)
36
  M_OBJS += rd.o
37
  endif
38
endif
39
 
40
ifeq ($(CONFIG_BLK_DEV_BLKMEM),y)
41
L_OBJS += blkmem.o
42
else
43
  ifeq ($(CONFIG_BLK_DEV_BLKMEM),m)
44
  M_OBJS += blkmem.o
45
  endif
46
endif
47
 
48
ifeq ($(CONFIG_DEV_FLASH),y)
49
L_OBJS += flash.o
50
else
51
  ifeq ($(CONFIG_DEV_FLASH),m)
52
  M_OBJS += flash.o
53
  endif
54
endif
55
 
56
ifeq ($(CONFIG_BLK_DEV_LOOP),y)
57
L_OBJS += loop.o
58
else
59
  ifeq ($(CONFIG_BLK_DEV_LOOP),m)
60
  M_OBJS += loop.o
61
  endif
62
endif
63
 
64
ifeq ($(CONFIG_BLK_DEV_HD),y)
65
L_OBJS += hd.o
66
endif
67
 
68
ifeq ($(CONFIG_BLK_DEV_IDE),y)
69
L_OBJS += ide.o
70
endif
71
 
72
ifeq ($(CONFIG_BLK_DEV_RZ1000),y)
73
L_OBJS += rz1000.o
74
endif
75
 
76
ifeq ($(CONFIG_BLK_DEV_CMD640),y)
77
L_OBJS += cmd640.o
78
endif
79
 
80
ifeq ($(CONFIG_BLK_DEV_TRITON),y)
81
L_OBJS += triton.o
82
endif
83
 
84
ifeq ($(CONFIG_BLK_DEV_DTC2278),y)
85
L_OBJS += dtc2278.o
86
endif
87
 
88
ifeq ($(CONFIG_BLK_DEV_HT6560B),y)
89
L_OBJS += ht6560b.o
90
endif
91
 
92
ifeq ($(CONFIG_BLK_DEV_QD6580),y)
93
L_OBJS += qd6580.o
94
endif
95
 
96
ifeq ($(CONFIG_BLK_DEV_UMC8672),y)
97
L_OBJS += umc8672.o
98
endif
99
 
100
ifeq ($(CONFIG_BLK_DEV_ALI14XX),y)
101
L_OBJS += ali14xx.o
102
endif
103
 
104
ifeq ($(CONFIG_BLK_DEV_PROMISE),y)
105
L_OBJS += promise.o
106
endif
107
 
108
ifeq ($(CONFIG_BLK_DEV_IDECD),y)
109
L_OBJS += ide-cd.o
110
endif
111
 
112
ifeq ($(CONFIG_BLK_DEV_IDETAPE),y)
113
L_OBJS += ide-tape.o
114
endif
115
 
116
ifeq ($(CONFIG_BLK_DEV_IDEFLOPPY),y)
117
L_OBJS += ide-floppy.o
118
endif
119
 
120
ifeq ($(CONFIG_BLK_DEV_XD),y)
121
L_OBJS += xd.o
122
else
123
  ifeq ($(CONFIG_BLK_DEV_XD),m)
124
  M_OBJS += xd.o
125
  endif
126
endif
127
 
128
ifeq ($(CONFIG_PARIDE),y)
129
SUB_DIRS        += paride
130
MOD_SUB_DIRS    += paride
131
else
132
  ifeq ($(CONFIG_PARIDE),m)
133
  MOD_SUB_DIRS  += paride
134
  endif
135
endif
136
 
137
ifeq ($(CONFIG_BLK_DEV_DAC960),y)
138
L_OBJS += DAC960.o
139
endif
140
 
141
ifeq ($(CONFIG_BLK_DEV_MD),y)
142
LX_OBJS += md.o
143
 
144
ifeq ($(CONFIG_MD_LINEAR),y)
145
L_OBJS += linear.o
146
else
147
  ifeq ($(CONFIG_MD_LINEAR),m)
148
  M_OBJS += linear.o
149
  endif
150
endif
151
 
152
ifeq ($(CONFIG_MD_STRIPED),y)
153
L_OBJS += raid0.o
154
else
155
  ifeq ($(CONFIG_MD_STRIPED),m)
156
  M_OBJS += raid0.o
157
  endif
158
endif
159
 
160
ifeq ($(CONFIG_MD_MIRRORING),y)
161
L_OBJS += raid1.o
162
else
163
  ifeq ($(CONFIG_MD_MIRRORING),m)
164
  M_OBJS += raid1.o
165
  endif
166
endif
167
 
168
ifeq ($(CONFIG_MD_RAID5),y)
169
L_OBJS += raid5.o
170
else
171
  ifeq ($(CONFIG_MD_RAID5),m)
172
  M_OBJS += raid5.o
173
  endif
174
endif
175
endif
176
 
177
ifeq ($(CONFIG_BLK_CPQ_DA),y)
178
L_OBJS += cpqarray.o proc_array.o
179
else
180
  ifeq ($(CONFIG_BLK_CPQ_DA),m)
181
  M_OBJS += cpqarray.o
182
  endif
183
endif
184
 
185
 
186
include $(TOPDIR)/Rules.make

powered by: WebSVN 2.1.0

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