blob: 3ea8cc80ea3dad6c1d52584723882058ad59b810 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the kernel character device drivers.
3#
4
5#
6# This file contains the font map for the default (hardware) font
7#
8FONTMAPFILE = cp437.uni
9
10obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o
11
12obj-$(CONFIG_LEGACY_PTYS) += pty.o
13obj-$(CONFIG_UNIX98_PTYS) += pty.o
14obj-y += misc.o
15obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o consolemap.o \
16 consolemap_deftbl.o selection.o keyboard.o
17obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
18obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
19obj-$(CONFIG_ESPSERIAL) += esp.o
20obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
21obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
22obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
23obj-$(CONFIG_ROCKETPORT) += rocket.o
24obj-$(CONFIG_SERIAL167) += serial167.o
25obj-$(CONFIG_CYCLADES) += cyclades.o
26obj-$(CONFIG_STALLION) += stallion.o
27obj-$(CONFIG_ISTALLION) += istallion.o
28obj-$(CONFIG_DIGIEPCA) += epca.o
29obj-$(CONFIG_SPECIALIX) += specialix.o
30obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
31obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
32obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
33obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
34obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o
35obj-$(CONFIG_RISCOM8) += riscom8.o
36obj-$(CONFIG_ISI) += isicom.o
37obj-$(CONFIG_SYNCLINK) += synclink.o
38obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
39obj-$(CONFIG_N_HDLC) += n_hdlc.o
40obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
41obj-$(CONFIG_SX) += sx.o generic_serial.o
42obj-$(CONFIG_RIO) += rio/ generic_serial.o
43obj-$(CONFIG_HVC_CONSOLE) += hvc_console.o hvsi.o
44obj-$(CONFIG_RAW_DRIVER) += raw.o
45obj-$(CONFIG_SGI_SNSC) += snsc.o
46obj-$(CONFIG_MMTIMER) += mmtimer.o
47obj-$(CONFIG_VIOCONS) += viocons.o
48obj-$(CONFIG_VIOTAPE) += viotape.o
49obj-$(CONFIG_HVCS) += hvcs.o
Bruce Losuree1e19742005-04-25 13:09:41 -070050obj-$(CONFIG_SGI_MBCS) += mbcs.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070051
52obj-$(CONFIG_PRINTER) += lp.o
53obj-$(CONFIG_TIPAR) += tipar.o
54
55obj-$(CONFIG_DTLK) += dtlk.o
56obj-$(CONFIG_R3964) += n_r3964.o
57obj-$(CONFIG_APPLICOM) += applicom.o
58obj-$(CONFIG_SONYPI) += sonypi.o
59obj-$(CONFIG_RTC) += rtc.o
60obj-$(CONFIG_HPET) += hpet.o
61obj-$(CONFIG_GEN_RTC) += genrtc.o
62obj-$(CONFIG_EFI_RTC) += efirtc.o
63obj-$(CONFIG_SGI_DS1286) += ds1286.o
64obj-$(CONFIG_SGI_IP27_RTC) += ip27-rtc.o
65obj-$(CONFIG_DS1302) += ds1302.o
66obj-$(CONFIG_S3C2410_RTC) += s3c2410-rtc.o
67obj-$(CONFIG_RTC_VR41XX) += vr41xx_rtc.o
68ifeq ($(CONFIG_GENERIC_NVRAM),y)
69 obj-$(CONFIG_NVRAM) += generic_nvram.o
70else
71 obj-$(CONFIG_NVRAM) += nvram.o
72endif
73obj-$(CONFIG_TOSHIBA) += toshiba.o
74obj-$(CONFIG_I8K) += i8k.o
75obj-$(CONFIG_DS1620) += ds1620.o
76obj-$(CONFIG_HW_RANDOM) += hw_random.o
77obj-$(CONFIG_FTAPE) += ftape/
78obj-$(CONFIG_COBALT_LCD) += lcd.o
79obj-$(CONFIG_PPDEV) += ppdev.o
80obj-$(CONFIG_NWBUTTON) += nwbutton.o
81obj-$(CONFIG_NWFLASH) += nwflash.o
82obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
83obj-$(CONFIG_TANBAC_TB0219) += tb0219.o
84
85obj-$(CONFIG_WATCHDOG) += watchdog/
86obj-$(CONFIG_MWAVE) += mwave/
87obj-$(CONFIG_AGP) += agp/
88obj-$(CONFIG_DRM) += drm/
89obj-$(CONFIG_PCMCIA) += pcmcia/
90obj-$(CONFIG_IPMI_HANDLER) += ipmi/
91
92obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
93obj-$(CONFIG_TCG_TPM) += tpm/
94# Files generated that shall be removed upon make clean
95clean-files := consolemap_deftbl.c defkeymap.c qtronixmap.c
96
97quiet_cmd_conmk = CONMK $@
98 cmd_conmk = scripts/conmakehash $< > $@
99
100$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
101 $(call cmd,conmk)
102
103$(obj)/defkeymap.o: $(obj)/defkeymap.c
104
105$(obj)/qtronixmap.o: $(obj)/qtronixmap.c
106
107# Uncomment if you're changing the keymap and have an appropriate
108# loadkeys version for the map. By default, we'll use the shipped
109# versions.
110# GENERATE_KEYMAP := 1
111
112ifdef GENERATE_KEYMAP
113
114$(obj)/defkeymap.c $(obj)/qtronixmap.c: $(obj)/%.c: $(src)/%.map
115 loadkeys --mktable $< > $@.tmp
116 sed -e 's/^static *//' $@.tmp > $@
117 rm $@.tmp
118
119endif