blob: b583d0cd9fbe207b00fc97abca82a2ecd15fa70f [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
Adrian Bunk9c4b5622006-01-19 18:07:10 +010034obj-$(CONFIG_COMPUTONE) += ip2/
Linus Torvalds1da177e2005-04-16 15:20:36 -070035obj-$(CONFIG_RISCOM8) += riscom8.o
36obj-$(CONFIG_ISI) += isicom.o
37obj-$(CONFIG_SYNCLINK) += synclink.o
38obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
Paul Fulghum705b6c72006-01-08 01:02:06 -080039obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070040obj-$(CONFIG_N_HDLC) += n_hdlc.o
41obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
42obj-$(CONFIG_SX) += sx.o generic_serial.o
43obj-$(CONFIG_RIO) += rio/ generic_serial.o
Ryan S. Arnold45d607e2006-03-27 21:25:16 +020044obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o
Stephen Rothwell8bff05b2006-07-13 18:51:22 +100045obj-$(CONFIG_HVC_ISERIES) += hvc_iseries.o
Arnd Bergmannf4d17492006-03-27 21:26:03 +020046obj-$(CONFIG_HVC_RTAS) += hvc_rtas.o
Milton Miller938473b2006-06-10 09:54:16 -070047obj-$(CONFIG_HVC_DRIVER) += hvc_console.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070048obj-$(CONFIG_RAW_DRIVER) += raw.o
Greg Howard67639de2005-04-25 13:28:52 -070049obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
Jes Sorensen17a3b052006-09-27 01:50:11 -070050obj-$(CONFIG_MSPEC) += mspec.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070051obj-$(CONFIG_MMTIMER) += mmtimer.o
Jim Cromie53813152006-03-24 18:10:34 +010052obj-$(CONFIG_VIOCONS) += viocons.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070053obj-$(CONFIG_VIOTAPE) += viotape.o
54obj-$(CONFIG_HVCS) += hvcs.o
Bruce Losuree1e19742005-04-25 13:09:41 -070055obj-$(CONFIG_SGI_MBCS) += mbcs.o
Benjamin Herrenschmidta45b8392006-07-04 15:06:20 +100056obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070057
Jim Cromie53813152006-03-24 18:10:34 +010058obj-$(CONFIG_PRINTER) += lp.o
59obj-$(CONFIG_TIPAR) += tipar.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070060
Jim Cromie53813152006-03-24 18:10:34 +010061obj-$(CONFIG_DTLK) += dtlk.o
62obj-$(CONFIG_R3964) += n_r3964.o
63obj-$(CONFIG_APPLICOM) += applicom.o
64obj-$(CONFIG_SONYPI) += sonypi.o
65obj-$(CONFIG_RTC) += rtc.o
66obj-$(CONFIG_HPET) += hpet.o
67obj-$(CONFIG_GEN_RTC) += genrtc.o
68obj-$(CONFIG_EFI_RTC) += efirtc.o
69obj-$(CONFIG_SGI_DS1286) += ds1286.o
70obj-$(CONFIG_SGI_IP27_RTC) += ip27-rtc.o
71obj-$(CONFIG_DS1302) += ds1302.o
72obj-$(CONFIG_S3C2410_RTC) += s3c2410-rtc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070073ifeq ($(CONFIG_GENERIC_NVRAM),y)
Jim Cromie53813152006-03-24 18:10:34 +010074 obj-$(CONFIG_NVRAM) += generic_nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070075else
Jim Cromie53813152006-03-24 18:10:34 +010076 obj-$(CONFIG_NVRAM) += nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070077endif
Jim Cromie53813152006-03-24 18:10:34 +010078obj-$(CONFIG_TOSHIBA) += toshiba.o
79obj-$(CONFIG_I8K) += i8k.o
80obj-$(CONFIG_DS1620) += ds1620.o
Michael Buesch844dd052006-06-26 00:24:59 -070081obj-$(CONFIG_HW_RANDOM) += hw_random/
Jim Cromie53813152006-03-24 18:10:34 +010082obj-$(CONFIG_FTAPE) += ftape/
83obj-$(CONFIG_COBALT_LCD) += lcd.o
84obj-$(CONFIG_PPDEV) += ppdev.o
85obj-$(CONFIG_NWBUTTON) += nwbutton.o
86obj-$(CONFIG_NWFLASH) += nwflash.o
Jim Cromie7a8e2a52006-06-27 02:54:27 -070087obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
88obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
89obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
Jim Cromie53813152006-03-24 18:10:34 +010090obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o
91obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o
92obj-$(CONFIG_TANBAC_TB0219) += tb0219.o
93obj-$(CONFIG_TELCLOCK) += tlclk.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070094
Jim Cromie53813152006-03-24 18:10:34 +010095obj-$(CONFIG_WATCHDOG) += watchdog/
96obj-$(CONFIG_MWAVE) += mwave/
97obj-$(CONFIG_AGP) += agp/
98obj-$(CONFIG_DRM) += drm/
99obj-$(CONFIG_PCMCIA) += pcmcia/
100obj-$(CONFIG_IPMI_HANDLER) += ipmi/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101
Jim Cromie53813152006-03-24 18:10:34 +0100102obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
103obj-$(CONFIG_TCG_TPM) += tpm/
104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105# Files generated that shall be removed upon make clean
106clean-files := consolemap_deftbl.c defkeymap.c qtronixmap.c
107
108quiet_cmd_conmk = CONMK $@
109 cmd_conmk = scripts/conmakehash $< > $@
110
111$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
112 $(call cmd,conmk)
113
114$(obj)/defkeymap.o: $(obj)/defkeymap.c
115
116$(obj)/qtronixmap.o: $(obj)/qtronixmap.c
117
118# Uncomment if you're changing the keymap and have an appropriate
119# loadkeys version for the map. By default, we'll use the shipped
120# versions.
121# GENERATE_KEYMAP := 1
122
123ifdef GENERATE_KEYMAP
124
125$(obj)/defkeymap.c $(obj)/qtronixmap.c: $(obj)/%.c: $(src)/%.map
126 loadkeys --mktable $< > $@.tmp
127 sed -e 's/^static *//' $@.tmp > $@
128 rm $@.tmp
129
130endif