blob: 96fc01eddefe805553ea1a834ba2f06a7f25c3b0 [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
Miloslav Trmac522ed772007-07-15 23:40:56 -070018obj-$(CONFIG_AUDIT) += tty_audit.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
20obj-$(CONFIG_ESPSERIAL) += esp.o
21obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
22obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
23obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
24obj-$(CONFIG_ROCKETPORT) += rocket.o
25obj-$(CONFIG_SERIAL167) += serial167.o
26obj-$(CONFIG_CYCLADES) += cyclades.o
27obj-$(CONFIG_STALLION) += stallion.o
28obj-$(CONFIG_ISTALLION) += istallion.o
Frank Seidel20fd1e32007-11-09 14:49:23 +010029obj-$(CONFIG_NOZOMI) += nozomi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070030obj-$(CONFIG_DIGIEPCA) += epca.o
31obj-$(CONFIG_SPECIALIX) += specialix.o
32obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
33obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
34obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
35obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
Jiri Slaby037ad482006-12-08 02:38:11 -080036obj-$(CONFIG_MOXA_SMARTIO_NEW) += mxser_new.o
Adrian Bunk9c4b5622006-01-19 18:07:10 +010037obj-$(CONFIG_COMPUTONE) += ip2/
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_RISCOM8) += riscom8.o
39obj-$(CONFIG_ISI) += isicom.o
40obj-$(CONFIG_SYNCLINK) += synclink.o
41obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
Paul Fulghum705b6c72006-01-08 01:02:06 -080042obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070043obj-$(CONFIG_N_HDLC) += n_hdlc.o
44obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
45obj-$(CONFIG_SX) += sx.o generic_serial.o
46obj-$(CONFIG_RIO) += rio/ generic_serial.o
Ryan S. Arnold45d607e2006-03-27 21:25:16 +020047obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o
Stephen Rothwell8bff05b2006-07-13 18:51:22 +100048obj-$(CONFIG_HVC_ISERIES) += hvc_iseries.o
Arnd Bergmannf4d17492006-03-27 21:26:03 +020049obj-$(CONFIG_HVC_RTAS) += hvc_rtas.o
Ishizaki Kou3cdc20e2007-02-02 16:44:08 +090050obj-$(CONFIG_HVC_BEAT) += hvc_beat.o
Milton Miller938473b2006-06-10 09:54:16 -070051obj-$(CONFIG_HVC_DRIVER) += hvc_console.o
Jeremy Fitzhardingeb536b4b2007-07-17 18:37:06 -070052obj-$(CONFIG_HVC_XEN) += hvc_xen.o
Rusty Russell31610432007-10-22 11:03:39 +100053obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070054obj-$(CONFIG_RAW_DRIVER) += raw.o
Greg Howard67639de2005-04-25 13:28:52 -070055obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
Jes Sorensen17a3b052006-09-27 01:50:11 -070056obj-$(CONFIG_MSPEC) += mspec.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070057obj-$(CONFIG_MMTIMER) += mmtimer.o
Jim Cromie53813152006-03-24 18:10:34 +010058obj-$(CONFIG_VIOCONS) += viocons.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070059obj-$(CONFIG_VIOTAPE) += viotape.o
60obj-$(CONFIG_HVCS) += hvcs.o
Bruce Losuree1e19742005-04-25 13:09:41 -070061obj-$(CONFIG_SGI_MBCS) += mbcs.o
Benjamin Herrenschmidta45b8392006-07-04 15:06:20 +100062obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070063
Jim Cromie53813152006-03-24 18:10:34 +010064obj-$(CONFIG_PRINTER) += lp.o
65obj-$(CONFIG_TIPAR) += tipar.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070066
Ralf Baechle77269422007-02-09 17:08:57 +000067obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
68
Jim Cromie53813152006-03-24 18:10:34 +010069obj-$(CONFIG_DTLK) += dtlk.o
70obj-$(CONFIG_R3964) += n_r3964.o
71obj-$(CONFIG_APPLICOM) += applicom.o
72obj-$(CONFIG_SONYPI) += sonypi.o
73obj-$(CONFIG_RTC) += rtc.o
74obj-$(CONFIG_HPET) += hpet.o
75obj-$(CONFIG_GEN_RTC) += genrtc.o
76obj-$(CONFIG_EFI_RTC) += efirtc.o
77obj-$(CONFIG_SGI_DS1286) += ds1286.o
78obj-$(CONFIG_SGI_IP27_RTC) += ip27-rtc.o
79obj-$(CONFIG_DS1302) += ds1302.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070080ifeq ($(CONFIG_GENERIC_NVRAM),y)
Jim Cromie53813152006-03-24 18:10:34 +010081 obj-$(CONFIG_NVRAM) += generic_nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070082else
Jim Cromie53813152006-03-24 18:10:34 +010083 obj-$(CONFIG_NVRAM) += nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070084endif
Jim Cromie53813152006-03-24 18:10:34 +010085obj-$(CONFIG_TOSHIBA) += toshiba.o
86obj-$(CONFIG_I8K) += i8k.o
87obj-$(CONFIG_DS1620) += ds1620.o
Michael Buesch844dd052006-06-26 00:24:59 -070088obj-$(CONFIG_HW_RANDOM) += hw_random/
Jim Cromie53813152006-03-24 18:10:34 +010089obj-$(CONFIG_COBALT_LCD) += lcd.o
90obj-$(CONFIG_PPDEV) += ppdev.o
91obj-$(CONFIG_NWBUTTON) += nwbutton.o
92obj-$(CONFIG_NWFLASH) += nwflash.o
Jim Cromie7a8e2a52006-06-27 02:54:27 -070093obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
94obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
95obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
Jim Cromie53813152006-03-24 18:10:34 +010096obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o
97obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o
Yoichi Yuasa09762512007-05-06 14:51:58 -070098obj-$(CONFIG_GPIO_TB0219) += tb0219.o
Jim Cromie53813152006-03-24 18:10:34 +010099obj-$(CONFIG_TELCLOCK) += tlclk.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100
Jim Cromie53813152006-03-24 18:10:34 +0100101obj-$(CONFIG_MWAVE) += mwave/
102obj-$(CONFIG_AGP) += agp/
103obj-$(CONFIG_DRM) += drm/
104obj-$(CONFIG_PCMCIA) += pcmcia/
105obj-$(CONFIG_IPMI_HANDLER) += ipmi/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106
Jim Cromie53813152006-03-24 18:10:34 +0100107obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
108obj-$(CONFIG_TCG_TPM) += tpm/
109
Geert Uytterhoevenf9652632007-07-21 04:37:48 -0700110obj-$(CONFIG_PS3_FLASH) += ps3flash.o
111
Al Viro22405982007-07-22 00:37:48 -0700112obj-$(CONFIG_JS_RTC) += js-rtc.o
113js-rtc-y = rtc.o
114
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115# Files generated that shall be removed upon make clean
Yoichi Yuasaaf8b1282006-10-02 23:19:00 +0900116clean-files := consolemap_deftbl.c defkeymap.c
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117
118quiet_cmd_conmk = CONMK $@
119 cmd_conmk = scripts/conmakehash $< > $@
120
121$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
122 $(call cmd,conmk)
123
124$(obj)/defkeymap.o: $(obj)/defkeymap.c
125
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126# Uncomment if you're changing the keymap and have an appropriate
127# loadkeys version for the map. By default, we'll use the shipped
128# versions.
129# GENERATE_KEYMAP := 1
130
131ifdef GENERATE_KEYMAP
132
Maarten Bresserse2a57a82007-10-08 15:59:13 -0700133$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134 loadkeys --mktable $< > $@.tmp
135 sed -e 's/^static *//' $@.tmp > $@
136 rm $@.tmp
137
138endif