blob: f308494bfc900b8dd82b731ce3f76f32c700d665 [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
Greg Kroah-Hartman96fd7ce2010-11-04 11:10:29 -070010obj-y += mem.o random.o
Samo Pogacnik24b4b672010-08-25 20:44:07 +020011obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012obj-y += misc.o
David Woodhousea29ccf62008-06-03 14:59:40 +010013obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o selection.o keyboard.o
Mike Frysinger0b914212009-06-11 14:01:45 +010014obj-$(CONFIG_BFIN_JTAG_COMM) += bfin_jtag_comm.o
David Woodhousea29ccf62008-06-03 14:59:40 +010015obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070017obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
18obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
19obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
20obj-$(CONFIG_ROCKETPORT) += rocket.o
21obj-$(CONFIG_SERIAL167) += serial167.o
22obj-$(CONFIG_CYCLADES) += cyclades.o
23obj-$(CONFIG_STALLION) += stallion.o
24obj-$(CONFIG_ISTALLION) += istallion.o
Frank Seidel20fd1e32007-11-09 14:49:23 +010025obj-$(CONFIG_NOZOMI) += nozomi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070026obj-$(CONFIG_DIGIEPCA) += epca.o
27obj-$(CONFIG_SPECIALIX) += specialix.o
28obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
29obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
30obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
31obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
Adrian Bunk9c4b5622006-01-19 18:07:10 +010032obj-$(CONFIG_COMPUTONE) += ip2/
Linus Torvalds1da177e2005-04-16 15:20:36 -070033obj-$(CONFIG_RISCOM8) += riscom8.o
34obj-$(CONFIG_ISI) += isicom.o
35obj-$(CONFIG_SYNCLINK) += synclink.o
36obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
Paul Fulghum705b6c72006-01-08 01:02:06 -080037obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
39obj-$(CONFIG_SX) += sx.o generic_serial.o
40obj-$(CONFIG_RIO) += rio/ generic_serial.o
Ryan S. Arnold45d607e2006-03-27 21:25:16 +020041obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o
Stephen Rothwell8bff05b2006-07-13 18:51:22 +100042obj-$(CONFIG_HVC_ISERIES) += hvc_iseries.o
Arnd Bergmannf4d17492006-03-27 21:26:03 +020043obj-$(CONFIG_HVC_RTAS) += hvc_rtas.o
Chris Metcalf867e3592010-05-28 23:09:12 -040044obj-$(CONFIG_HVC_TILE) += hvc_tile.o
Ishizaki Kou3cdc20e2007-02-02 16:44:08 +090045obj-$(CONFIG_HVC_BEAT) += hvc_beat.o
Milton Miller938473b2006-06-10 09:54:16 -070046obj-$(CONFIG_HVC_DRIVER) += hvc_console.o
Christian Borntraeger611e0972008-06-20 15:24:08 +020047obj-$(CONFIG_HVC_IRQ) += hvc_irq.o
Jeremy Fitzhardingeb536b4b2007-07-17 18:37:06 -070048obj-$(CONFIG_HVC_XEN) += hvc_xen.o
Hendrik Brueckner44a01d52008-12-25 13:38:57 +010049obj-$(CONFIG_HVC_IUCV) += hvc_iucv.o
David Gibsond5e54912008-11-05 14:20:17 +000050obj-$(CONFIG_HVC_UDBG) += hvc_udbg.o
Rusty Russell31610432007-10-22 11:03:39 +100051obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070052obj-$(CONFIG_RAW_DRIVER) += raw.o
Greg Howard67639de2005-04-25 13:28:52 -070053obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
Jes Sorensen17a3b052006-09-27 01:50:11 -070054obj-$(CONFIG_MSPEC) += mspec.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070055obj-$(CONFIG_MMTIMER) += mmtimer.o
Dimitri Sivanichfbd8ae12009-09-23 15:57:15 -070056obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070057obj-$(CONFIG_VIOTAPE) += viotape.o
58obj-$(CONFIG_HVCS) += hvcs.o
Sonny Raofe9e8d52008-07-08 15:45:11 +100059obj-$(CONFIG_IBM_BSR) += bsr.o
Bruce Losuree1e19742005-04-25 13:09:41 -070060obj-$(CONFIG_SGI_MBCS) += mbcs.o
Benjamin Herrenschmidta45b8392006-07-04 15:06:20 +100061obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o
Mike Frysinger2dc63a82008-04-25 08:04:56 +080062obj-$(CONFIG_BFIN_OTP) += bfin-otp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070063
Jim Cromie53813152006-03-24 18:10:34 +010064obj-$(CONFIG_PRINTER) += lp.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070065
Ralf Baechle77269422007-02-09 17:08:57 +000066obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
67
Jim Cromie53813152006-03-24 18:10:34 +010068obj-$(CONFIG_DTLK) += dtlk.o
Jim Cromie53813152006-03-24 18:10:34 +010069obj-$(CONFIG_APPLICOM) += applicom.o
70obj-$(CONFIG_SONYPI) += sonypi.o
71obj-$(CONFIG_RTC) += rtc.o
72obj-$(CONFIG_HPET) += hpet.o
73obj-$(CONFIG_GEN_RTC) += genrtc.o
74obj-$(CONFIG_EFI_RTC) += efirtc.o
Jim Cromie53813152006-03-24 18:10:34 +010075obj-$(CONFIG_DS1302) += ds1302.o
Stephen Neuendorfferef141a02008-02-06 04:24:09 +110076obj-$(CONFIG_XILINX_HWICAP) += xilinx_hwicap/
Linus Torvalds1da177e2005-04-16 15:20:36 -070077ifeq ($(CONFIG_GENERIC_NVRAM),y)
Jim Cromie53813152006-03-24 18:10:34 +010078 obj-$(CONFIG_NVRAM) += generic_nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070079else
Jim Cromie53813152006-03-24 18:10:34 +010080 obj-$(CONFIG_NVRAM) += nvram.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070081endif
Jim Cromie53813152006-03-24 18:10:34 +010082obj-$(CONFIG_TOSHIBA) += toshiba.o
83obj-$(CONFIG_I8K) += i8k.o
84obj-$(CONFIG_DS1620) += ds1620.o
Michael Buesch844dd052006-06-26 00:24:59 -070085obj-$(CONFIG_HW_RANDOM) += hw_random/
Jim Cromie53813152006-03-24 18:10:34 +010086obj-$(CONFIG_PPDEV) += ppdev.o
87obj-$(CONFIG_NWBUTTON) += nwbutton.o
88obj-$(CONFIG_NWFLASH) += nwflash.o
Jim Cromie7a8e2a52006-06-27 02:54:27 -070089obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
90obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
91obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
Jim Cromie53813152006-03-24 18:10:34 +010092obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o
Yoichi Yuasa09762512007-05-06 14:51:58 -070093obj-$(CONFIG_GPIO_TB0219) += tb0219.o
Jim Cromie53813152006-03-24 18:10:34 +010094obj-$(CONFIG_TELCLOCK) += tlclk.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070095
Jim Cromie53813152006-03-24 18:10:34 +010096obj-$(CONFIG_MWAVE) += mwave/
97obj-$(CONFIG_AGP) += agp/
Jim Cromie53813152006-03-24 18:10:34 +010098obj-$(CONFIG_PCMCIA) += pcmcia/
99obj-$(CONFIG_IPMI_HANDLER) += ipmi/
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100
Jim Cromie53813152006-03-24 18:10:34 +0100101obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
102obj-$(CONFIG_TCG_TPM) += tpm/
103
Geert Uytterhoevenf9652632007-07-21 04:37:48 -0700104obj-$(CONFIG_PS3_FLASH) += ps3flash.o
Marco Stornelli56d611a2010-05-26 14:43:54 -0700105obj-$(CONFIG_RAMOOPS) += ramoops.o
Geert Uytterhoevenf9652632007-07-21 04:37:48 -0700106
Al Viro22405982007-07-22 00:37:48 -0700107obj-$(CONFIG_JS_RTC) += js-rtc.o
108js-rtc-y = rtc.o
109
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110# Files generated that shall be removed upon make clean
Yoichi Yuasaaf8b1282006-10-02 23:19:00 +0900111clean-files := consolemap_deftbl.c defkeymap.c
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112
113quiet_cmd_conmk = CONMK $@
114 cmd_conmk = scripts/conmakehash $< > $@
115
116$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
117 $(call cmd,conmk)
118
119$(obj)/defkeymap.o: $(obj)/defkeymap.c
120
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121# Uncomment if you're changing the keymap and have an appropriate
122# loadkeys version for the map. By default, we'll use the shipped
123# versions.
124# GENERATE_KEYMAP := 1
125
126ifdef GENERATE_KEYMAP
127
Maarten Bresserse2a57a82007-10-08 15:59:13 -0700128$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129 loadkeys --mktable $< > $@.tmp
130 sed -e 's/^static *//' $@.tmp > $@
131 rm $@.tmp
132
133endif