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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [char/] [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 character 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 definitions are now inherited from the
9
# parent makes..
10
#
11
 
12
SUB_DIRS     :=
13
MOD_SUB_DIRS := $(SUB_DIRS)
14
ALL_SUB_DIRS := $(SUB_DIRS) ftape
15
 
16
#
17
# This file contains the font map for the default (hardware) font
18
#
19
FONTMAPFILE = cp437.uni
20
 
21
L_TARGET := char.a
22
M_OBJS   :=
23
L_OBJS   := tty_io.o n_tty.o tty_ioctl.o pty.o mem.o
24
 
25
ifdef CONSOLE_BAUD_RATE
26
CFLAGS += -DCONSOLE_BAUD_RATE=$(CONSOLE_BAUD_RATE)
27
endif
28
 
29
LX_OBJS += random.o
30
 
31
ifeq ($(CONFIG_SERIAL),y)
32
  ifndef CONFIG_SUN_SERIAL
33
  LX_OBJS += serial.o
34
  endif
35
else
36
  ifeq ($(CONFIG_SERIAL),m)
37
  MX_OBJS += serial.o
38
  endif
39
endif
40
 
41
ifeq ($(CONFIG_COLDFIRE),y)
42
L_OBJS += mcfserial.o
43
else
44
 ifeq ($(CONFIG_COLDFIRE),m)
45
 M_OBJS += mcfserial.o
46
 endif
47
endif
48
 
49
ifeq ($(CONFIG_MCF_MBUS),y)
50
L_OBJS += mbus.o
51
endif
52
 
53
ifeq ($(CONFIG_WATCHDOG),y)
54
L_OBJS += mcfwatchdog.o
55
endif
56
 
57
ifeq ($(CONFIG_MAGIC_SYSRQ),y)
58
L_OBJS += sysrq.o
59
endif
60
 
61
ifeq ($(CONFIG_68302_SERIAL),y)
62
L_OBJS += 68302serial.o
63
else
64
  ifeq ($(CONFIG_68302_SERIAL),m)
65
  M_OBJS += 68302serial.o
66
  endif
67
endif
68
 
69
ifeq ($(CONFIG_68328_SERIAL),y)
70
L_OBJS += 68328serial.o
71
else
72
  ifeq ($(CONFIG_68328_SERIAL),m)
73
  M_OBJS += 68328serial.o
74
  endif
75
endif
76
 
77
ifeq ($(CONFIG_68332_SERIAL),y)
78
L_OBJS += 68332serial.o
79
else
80
  ifeq ($(CONFIG_68332_SERIAL),m)
81
  M_OBJS += 68332serial.o
82
  endif
83
endif
84
 
85
ifeq ($(CONFIG_68328_DIGI),y)
86
M = y
87
L_OBJS += mc68328digi.o
88
else
89
  ifeq ($(CONFIG_68328_DIGI),m)
90
  M_OBJS += mc68328digi.o
91
  MM = n
92
  endif
93
endif
94
 
95
#ifeq ($(CONFIG_KEYBOARD),y)
96
ifndef CONFIG_SUN_KEYBOARD
97
L_OBJS += keyboard.o defkeymap.o
98
endif
99
#endif
100
 
101
ifeq ($(CONFIG_DIGI),y)
102
L_OBJS += pcxx.o
103
else
104
  ifeq ($(CONFIG_DIGI),m)
105
  M_OBJS += pcxx.o
106
  endif
107
endif
108
 
109
ifeq ($(CONFIG_CYCLADES),y)
110
L_OBJS += cyclades.o
111
else
112
  ifeq ($(CONFIG_CYCLADES),m)
113
  M_OBJS += cyclades.o
114
  endif
115
endif
116
 
117
ifeq ($(CONFIG_STALLION),y)
118
L_OBJS += stallion.o
119
else
120
  ifeq ($(CONFIG_STALLION),m)
121
  M_OBJS += stallion.o
122
  endif
123
endif
124
 
125
ifeq ($(CONFIG_ISTALLION),y)
126
L_OBJS += istallion.o
127
else
128
  ifeq ($(CONFIG_ISTALLION),m)
129
  M_OBJS += istallion.o
130
  endif
131
endif
132
 
133
ifeq ($(CONFIG_RISCOM8),y)
134
L_OBJS += riscom8.o
135
else
136
  ifeq ($(CONFIG_RISCOM8),m)
137
  M_OBJS += riscom8.o
138
  endif
139
endif
140
 
141
ifeq ($(CONFIG_SPECIALIX),y)
142
L_OBJS += specialix.o
143
else
144
  ifeq ($(CONFIG_SPECIALIX),m)
145
  M_OBJS += specialix.o
146
  endif
147
endif
148
 
149
ifeq ($(CONFIG_ISI),y)
150
L_OBJS += isicom.o
151
else
152
  ifeq ($(CONFIG_ISI),m)
153
  M_OBJS += isicom.o
154
  endif
155
endif
156
 
157
 
158
ifeq ($(CONFIG_ATIXL_BUSMOUSE),y)
159
M = y
160
L_OBJS += atixlmouse.o
161
else
162
  ifeq ($(CONFIG_ATIXL_BUSMOUSE),m)
163
  M_OBJS += atixlmouse.o
164
  MM = m
165
  endif
166
endif
167
 
168
ifeq ($(CONFIG_BUSMOUSE),y)
169
M = y
170
L_OBJS += busmouse.o
171
else
172
  ifeq ($(CONFIG_BUSMOUSE),m)
173
  M_OBJS += busmouse.o
174
  MM = m
175
  endif
176
endif
177
 
178
ifeq ($(CONFIG_PRINTER),y)
179
L_OBJS += lp.o
180
else
181
  ifeq ($(CONFIG_PRINTER),m)
182
  M_OBJS += lp.o
183
  endif
184
endif
185
 
186
ifeq ($(CONFIG_MS_BUSMOUSE),y)
187
M = y
188
L_OBJS += msbusmouse.o
189
else
190
  ifeq ($(CONFIG_MS_BUSMOUSE),m)
191
  M_OBJS += msbusmouse.o
192
  MM = m
193
  endif
194
endif
195
 
196
ifeq ($(CONFIG_PSMOUSE),y)
197
M = y
198
L_OBJS += psaux.o
199
else
200
  ifeq ($(CONFIG_PSMOUSE),m)
201
  M_OBJS += psaux.o
202
  MM = m
203
  endif
204
endif
205
 
206
ifeq ($(CONFIG_UMISC),y)
207
# To support third-party modules, misc.c must reside in the kernel
208
M = y
209
endif
210
 
211
ifeq ($(CONFIG_SOFT_WATCHDOG),y)
212
M = y
213
L_OBJS += softdog.o
214
else
215
  ifeq ($(CONFIG_SOFT_WATCHDOG),m)
216
  M_OBJS += softdog.o
217
  MM = m
218
  endif
219
endif
220
 
221
ifeq ($(CONFIG_PCWATCHDOG),y)
222
M = y
223
L_OBJS += pcwd.o
224
else
225
  ifeq ($(CONFIG_PCWATCHDOG),m)
226
  M_OBJS += pcwd.o
227
  MM = m
228
  endif
229
endif
230
 
231
ifdef CONFIG_SUN_MOUSE
232
M = y
233
endif
234
 
235
ifeq ($(CONFIG_WDT),y)
236
M = y
237
L_OBJS += wdt.o
238
else
239
  ifeq ($(CONFIG_WDT),m)
240
    M_OBJS += wdt.o
241
    MM = m
242
  endif
243
endif
244
 
245
ifeq ($(CONFIG_RTC),y)
246
M = y
247
L_OBJS += rtc.o
248
endif
249
 
250
ifdef CONFIG_QIC02_TAPE
251
L_OBJS += tpqic02.o
252
endif
253
 
254
ifeq ($(CONFIG_FTAPE),y)
255
SUB_DIRS += ftape
256
L_OBJS += ftape/ftape.o
257
else
258
  ifeq ($(CONFIG_FTAPE),m)
259
  MOD_SUB_DIRS += ftape
260
  endif
261
endif
262
 
263
ifdef CONFIG_APM
264
M = y
265
endif
266
 
267
ifdef CONFIG_H8
268
LX_OBJS += h8.o
269
M = y
270
endif
271
 
272
ifdef M
273
LX_OBJS += misc.o
274
else
275
  ifdef MM
276
  MX_OBJS += misc.o
277
  endif
278
endif
279
 
280
ifeq ($(CONFIG_SCC),y)
281
L_OBJS += scc.o
282
else
283
  ifeq ($(CONFIG_SCC),m)
284
  M_OBJS += scc.o
285
  endif
286
endif
287
 
288
ifeq ($(CONFIG_CONSOLE),y)
289
  ifeq ($(CONFIG_FRAMEBUFFER),y)
290
  LX_OBJS += fbmem.o
291
  endif
292
  L_OBJS += console.o vc_screen.o consolemap.o selection.o vt.o
293
 
294
  ifdef CONFIG_TGA_CONSOLE
295
    L_OBJS += tga.o
296
    ifdef CONFIG_VGA_CONSOLE
297
    L_OBJS += vga.o vesa_blank.o
298
    endif
299
  else
300
    ifndef CONFIG_SUN_CONSOLE
301
    L_OBJS += vga.o vesa_blank.o
302
    endif
303
  endif
304
endif
305
 
306
ifdef CONFIG_LCDDMA
307
L_OBJS += lcddma.o
308
endif
309
ifdef CONFIG_DAC0800
310
L_OBJS += dac0800.o
311
endif
312
ifdef CONFIG_DACI2S
313
L_OBJS += daci2s.o
314
endif
315
ifdef CONFIG_LCDTXT
316
L_OBJS += lcdtxt.o
317
endif
318
 
319
ifdef CONFIG_T6963_DMA
320
L_OBJS += t6963fb.o
321
endif
322
 
323
ifdef CONFIG_T6963_PIO
324
L_OBJS += t6963fb.o
325
endif
326
 
327
include $(TOPDIR)/Rules.make
328
 
329
fastdep: uni_hash.tbl
330
 
331
consolemap.o:
332
 
333
conmakehash: conmakehash.c
334
        $(HOSTCC) -o conmakehash conmakehash.c
335
 
336
uni_hash.tbl: $(FONTMAPFILE) conmakehash
337
        ./conmakehash $(FONTMAPFILE) > uni_hash.tbl

powered by: WebSVN 2.1.0

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