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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [char/] [Makefile] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#
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
#
13
# This file contains the font map for the default (hardware) font
14
#
15
FONTMAPFILE = cp437.uni
16
 
17
O_TARGET := char.o
18
 
19
obj-y    += mem.o tty_io.o n_tty.o tty_ioctl.o raw.o pty.o misc.o random.o
20
 
21
# All of the (potential) objects that export symbols.
22
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
23
 
24
export-objs     :=      busmouse.o console.o keyboard.o sysrq.o \
25
                        misc.o pty.o random.o selection.o serial.o \
26
                        sonypi.o tty_io.o tty_ioctl.o generic_serial.o \
27
                        au1000_gpio.o vac-serial.o hp_psaux.o nvram.o \
28
                        scx200.o fetchop.o
29
 
30
mod-subdirs     :=      joystick ftape drm drm-4.0 pcmcia
31
 
32
list-multi      :=
33
 
34
KEYMAP   =defkeymap.o
35
KEYBD    =pc_keyb.o
36
CONSOLE  =console.o
37
SERIAL   =serial.o
38
 
39
ifeq ($(ARCH),s390)
40
  KEYMAP   =
41
  KEYBD    =
42
  CONSOLE  =
43
  SERIAL   =
44
endif
45
 
46
ifeq ($(ARCH),mips)
47
  ifneq ($(CONFIG_PC_KEYB),y)
48
    KEYBD    =
49
  endif
50
  ifeq ($(CONFIG_VR41XX_KIU),y)
51
    KEYMAP   =
52
    KEYBD    = vr41xx_keyb.o
53
  endif
54
endif
55
 
56
ifeq ($(ARCH),s390x)
57
  KEYMAP   =
58
  KEYBD    =
59
  CONSOLE  =
60
  SERIAL   =
61
endif
62
 
63
ifeq ($(ARCH),m68k)
64
   ifdef CONFIG_AMIGA
65
      KEYBD = amikeyb.o
66
   else
67
      ifndef CONFIG_MAC
68
         KEYBD =
69
      endif
70
   endif
71
   SERIAL   =
72
endif
73
 
74
ifeq ($(ARCH),parisc)
75
   ifdef CONFIG_GSC_PS2
76
      KEYBD   = hp_psaux.o hp_keyb.o
77
   else
78
      KEYBD   =
79
   endif
80
   ifdef CONFIG_SERIAL_MUX
81
      CONSOLE += mux.o
82
   endif
83
   ifdef CONFIG_PDC_CONSOLE
84
      CONSOLE += pdc_console.o
85
   endif
86
endif
87
 
88
ifdef CONFIG_Q40
89
  KEYBD += q40_keyb.o
90
  SERIAL = serial.o
91
endif
92
 
93
ifdef CONFIG_APOLLO
94
  KEYBD += dn_keyb.o
95
endif
96
 
97
ifeq ($(ARCH),parisc)
98
   ifdef CONFIG_GSC_PS2
99
      KEYBD   = hp_psaux.o hp_keyb.o
100
   else
101
      KEYBD   =
102
   endif
103
   ifdef CONFIG_PDC_CONSOLE
104
      CONSOLE += pdc_console.o
105
   endif
106
endif
107
 
108
ifeq ($(ARCH),arm)
109
  ifneq ($(CONFIG_PC_KEYMAP),y)
110
    KEYMAP   =
111
  endif
112
  ifneq ($(CONFIG_PC_KEYB),y)
113
    KEYBD    =
114
  endif
115
endif
116
 
117
ifeq ($(ARCH),sh)
118
  KEYMAP   =
119
  KEYBD    =
120
  CONSOLE  =
121
  ifeq ($(CONFIG_SH_HP600),y)
122
  KEYMAP   = defkeymap.o
123
  KEYBD    = scan_keyb.o hp600_keyb.o
124
  CONSOLE  = console.o
125
  endif
126
  ifeq ($(CONFIG_SH_DMIDA),y)
127
  # DMIDA does not connect the HD64465 PS/2 keyboard port
128
  # but we allow for USB keyboards to be plugged in.
129
  KEYMAP   = defkeymap.o
130
  KEYBD    = # hd64465_keyb.o pc_keyb.o
131
  CONSOLE  = console.o
132
  endif
133
  ifeq ($(CONFIG_SH_EC3104),y)
134
  KEYMAP   = defkeymap.o
135
  KEYBD    = ec3104_keyb.o
136
  CONSOLE  = console.o
137
  endif
138
  ifeq ($(CONFIG_SH_DREAMCAST),y)
139
  KEYMAP   = defkeymap.o
140
  KEYBD    =
141
  CONSOLE  = console.o
142
  endif
143
endif
144
 
145
ifeq ($(CONFIG_DECSTATION),y)
146
  KEYMAP   =
147
  KEYBD    =
148
endif
149
 
150
ifeq ($(CONFIG_BAGET_MIPS),y)
151
  KEYBD    =
152
  SERIAL   = vac-serial.o
153
endif
154
 
155
ifeq ($(CONFIG_NINO),y)
156
  SERIAL   =
157
endif
158
 
159
ifneq ($(CONFIG_SUN_SERIAL),)
160
  SERIAL   =
161
endif
162
 
163
ifeq ($(CONFIG_QTRONIX_KEYBOARD),y)
164
  KEYBD    = qtronix.o
165
  KEYMAP   = qtronixmap.o
166
endif
167
 
168
ifeq ($(CONFIG_DUMMY_KEYB),y)
169
  KEYBD = dummy_keyb.o
170
endif
171
 
172
obj-$(CONFIG_VT) += vt.o vc_screen.o consolemap.o consolemap_deftbl.o $(CONSOLE) selection.o
173
obj-$(CONFIG_SERIAL) += $(SERIAL)
174
obj-$(CONFIG_SERIAL_HCDP) += hcdp_serial.o
175
obj-$(CONFIG_SERIAL_21285) += serial_21285.o
176
obj-$(CONFIG_SERIAL_SA1100) += serial_sa1100.o
177
obj-$(CONFIG_SERIAL_AMBA) += serial_amba.o
178
obj-$(CONFIG_TS_AU1X00_ADS7846) += au1000_ts.o
179
obj-$(CONFIG_SERIAL_DEC) += decserial.o
180
 
181
ifndef CONFIG_SUN_KEYBOARD
182
  obj-$(CONFIG_VT) += keyboard.o $(KEYMAP) $(KEYBD)
183
else
184
  obj-$(CONFIG_PCI) += keyboard.o $(KEYMAP)
185
endif
186
 
187
obj-$(CONFIG_HIL) += hp_keyb.o
188
obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
189
obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
190
obj-$(CONFIG_ROCKETPORT) += rocket.o
191
obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
192
obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
193
obj-$(CONFIG_DIGI) += pcxx.o
194
obj-$(CONFIG_DIGIEPCA) += epca.o
195
obj-$(CONFIG_CYCLADES) += cyclades.o
196
obj-$(CONFIG_STALLION) += stallion.o
197
obj-$(CONFIG_ISTALLION) += istallion.o
198
obj-$(CONFIG_SIBYTE_SB1250_DUART) += sb1250_duart.o
199
obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o
200
obj-$(CONFIG_RISCOM8) += riscom8.o
201
obj-$(CONFIG_ISI) += isicom.o
202
obj-$(CONFIG_ESPSERIAL) += esp.o
203
obj-$(CONFIG_SYNCLINK) += synclink.o
204
obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
205
obj-$(CONFIG_N_HDLC) += n_hdlc.o
206
obj-$(CONFIG_SPECIALIX) += specialix.o
207
obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
208
obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
209
obj-$(CONFIG_SX) += sx.o generic_serial.o
210
obj-$(CONFIG_RIO) += rio/rio.o generic_serial.o
211
obj-$(CONFIG_SH_SCI) += sh-sci.o generic_serial.o
212
obj-$(CONFIG_SERIAL167) += serial167.o
213
obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
214
obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
215
obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
216
obj-$(CONFIG_HVC_CONSOLE) += hvc_console.o
217
obj-$(CONFIG_SERIAL_TX3912) += generic_serial.o serial_tx3912.o
218
obj-$(CONFIG_TXX927_SERIAL) += serial_txx927.o
219
obj-$(CONFIG_SERIAL_TXX9) += generic_serial.o serial_txx9.o
220
obj-$(CONFIG_IP22_SERIAL) += sgiserial.o
221
obj-$(CONFIG_AU1X00_UART) += au1x00-serial.o
222
obj-$(CONFIG_SGI_L1_SERIAL) += sn_serial.o
223
 
224
subdir-$(CONFIG_RIO) += rio
225
subdir-$(CONFIG_INPUT) += joystick
226
 
227
obj-$(CONFIG_ATIXL_BUSMOUSE) += atixlmouse.o
228
obj-$(CONFIG_LOGIBUSMOUSE) += logibusmouse.o
229
obj-$(CONFIG_PRINTER) += lp.o
230
obj-$(CONFIG_TIPAR) += tipar.o
231
obj-$(CONFIG_OBMOUSE) += obmouse.o
232
 
233
ifeq ($(CONFIG_INPUT),y)
234
obj-y += joystick/js.o
235
endif
236
 
237
obj-$(CONFIG_FETCHOP) += fetchop.o
238
obj-$(CONFIG_BUSMOUSE) += busmouse.o
239
obj-$(CONFIG_DTLK) += dtlk.o
240
obj-$(CONFIG_R3964) += n_r3964.o
241
obj-$(CONFIG_APPLICOM) += applicom.o
242
obj-$(CONFIG_SONYPI) += sonypi.o
243
obj-$(CONFIG_MS_BUSMOUSE) += msbusmouse.o
244
obj-$(CONFIG_82C710_MOUSE) += qpmouse.o
245
obj-$(CONFIG_AMIGAMOUSE) += amigamouse.o
246
obj-$(CONFIG_ATARIMOUSE) += atarimouse.o
247
obj-$(CONFIG_ADBMOUSE) += adbmouse.o
248
obj-$(CONFIG_PC110_PAD) += pc110pad.o
249
obj-$(CONFIG_MK712_MOUSE) += mk712.o
250
obj-$(CONFIG_RTC) += rtc.o
251
obj-$(CONFIG_GEN_RTC) += genrtc.o
252
obj-$(CONFIG_EFI_RTC) += efirtc.o
253
obj-$(CONFIG_SGI_DS1286) += ds1286.o
254
obj-$(CONFIG_MIPS_RTC) += mips_rtc.o
255
obj-$(CONFIG_SGI_IP27_RTC) += ip27-rtc.o
256
ifeq ($(CONFIG_PPC),)
257
  obj-$(CONFIG_NVRAM) += nvram.o
258
endif
259
obj-$(CONFIG_TOSHIBA) += toshiba.o
260
obj-$(CONFIG_I8K) += i8k.o
261
obj-$(CONFIG_DS1620) += ds1620.o
262
obj-$(CONFIG_DS1742) += ds1742.o
263
obj-$(CONFIG_INTEL_RNG) += i810_rng.o
264
obj-$(CONFIG_AMD_RNG) += amd768_rng.o
265
obj-$(CONFIG_HW_RANDOM) += hw_random.o
266
obj-$(CONFIG_AMD_PM768) += amd76x_pm.o
267
obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o
268
 
269
obj-$(CONFIG_ITE_GPIO) += ite_gpio.o
270
obj-$(CONFIG_AU1X00_GPIO) += au1000_gpio.o
271
obj-$(CONFIG_AU1X00_USB_TTY) += au1000_usbtty.o
272
obj-$(CONFIG_AU1X00_USB_RAW) += au1000_usbraw.o
273
obj-$(CONFIG_COBALT_LCD) += lcd.o
274
 
275
obj-$(CONFIG_QIC02_TAPE) += tpqic02.o
276
 
277
subdir-$(CONFIG_FTAPE) += ftape
278
subdir-$(CONFIG_DRM_OLD) += drm-4.0
279
subdir-$(CONFIG_DRM_NEW) += drm
280
subdir-$(CONFIG_PCMCIA) += pcmcia
281
subdir-$(CONFIG_AGP) += agp
282
 
283
ifeq ($(CONFIG_FTAPE),y)
284
obj-y       += ftape/ftape.o
285
endif
286
 
287
obj-$(CONFIG_H8) += h8.o
288
obj-$(CONFIG_PPDEV) += ppdev.o
289
obj-$(CONFIG_DZ) += dz.o
290
obj-$(CONFIG_NWBUTTON) += nwbutton.o
291
obj-$(CONFIG_NWFLASH) += nwflash.o
292
obj-$(CONFIG_SCx200) += scx200.o
293
obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
294
 
295
# Only one watchdog can succeed. We probe the hardware watchdog
296
# drivers first, then the softdog driver.  This means if your hardware
297
# watchdog dies or is 'borrowed' for some reason the software watchdog
298
# still gives you some cover.
299
 
300
obj-$(CONFIG_PCWATCHDOG) += pcwd.o
301
obj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o
302
obj-$(CONFIG_ADVANTECH_WDT) += advantechwdt.o
303
obj-$(CONFIG_IB700_WDT) += ib700wdt.o
304
obj-$(CONFIG_MIXCOMWD) += mixcomwd.o
305
obj-$(CONFIG_60XX_WDT) += sbc60xxwdt.o
306
obj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o
307
obj-$(CONFIG_SC520_WDT) += sc520_wdt.o
308
obj-$(CONFIG_WDT) += wdt.o
309
obj-$(CONFIG_WDTPCI) += wdt_pci.o
310
obj-$(CONFIG_21285_WATCHDOG) += wdt285.o
311
obj-$(CONFIG_977_WATCHDOG) += wdt977.o
312
obj-$(CONFIG_I810_TCO) += i810-tco.o
313
obj-$(CONFIG_MACHZ_WDT) += machzwd.o
314
obj-$(CONFIG_SH_WDT) += shwdt.o
315
obj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o
316
obj-$(CONFIG_ALIM7101_WDT) += alim7101_wdt.o
317
obj-$(CONFIG_ALIM1535_WDT) += alim1535d_wdt.o
318
obj-$(CONFIG_INDYDOG) += indydog.o
319
obj-$(CONFIG_SC1200_WDT) += sc1200wdt.o
320
obj-$(CONFIG_SCx200_WDT) += scx200_wdt.o
321
obj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o
322
obj-$(CONFIG_SOFT_WATCHDOG) += softdog.o
323
obj-$(CONFIG_AMD7XX_TCO) += amd7xx_tco.o
324
obj-$(CONFIG_INDYDOG) += indydog.o
325
obj-$(CONFIG_8xx_WDT) += mpc8xx_wdt.o
326
 
327
subdir-$(CONFIG_MWAVE) += mwave
328
ifeq ($(CONFIG_MWAVE),y)
329
  obj-y += mwave/mwave.o
330
endif
331
 
332
subdir-$(CONFIG_IPMI_HANDLER) += ipmi
333
ifeq ($(CONFIG_IPMI_HANDLER),y)
334
  obj-y += ipmi/ipmi.o
335
endif
336
 
337
include $(TOPDIR)/Rules.make
338
 
339
fastdep:
340
 
341
conmakehash: conmakehash.c
342
        $(HOSTCC) $(HOSTCFLAGS) -o conmakehash conmakehash.c
343
 
344
consolemap_deftbl.c: $(FONTMAPFILE) conmakehash
345
        ./conmakehash $(FONTMAPFILE) > consolemap_deftbl.c
346
 
347
consolemap_deftbl.o: consolemap_deftbl.c $(TOPDIR)/include/linux/types.h
348
 
349
.DELETE_ON_ERROR:
350
 
351
defkeymap.c: defkeymap.map
352
        set -e ; loadkeys --mktable $< | sed -e 's/^static *//' > $@
353
 
354
qtronixmap.c: qtronixmap.map
355
        set -e ; loadkeys --mktable $< | sed -e 's/^static *//' > $@

powered by: WebSVN 2.1.0

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