2 # Makefile for the kernel character device drivers.
6 # This file contains the font map for the default (hardware) font
8 FONTMAPFILE = cp437.uni
10 obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o
12 obj-$(CONFIG_LEGACY_PTYS) += pty.o
13 obj-$(CONFIG_UNIX98_PTYS) += pty.o
15 obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o consolemap.o \
16 consolemap_deftbl.o selection.o keyboard.o
17 obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
18 obj-$(CONFIG_AUDIT) += tty_audit.o
19 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
20 obj-$(CONFIG_ESPSERIAL) += esp.o
21 obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
22 obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
23 obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
24 obj-$(CONFIG_ROCKETPORT) += rocket.o
25 obj-$(CONFIG_SERIAL167) += serial167.o
26 obj-$(CONFIG_CYCLADES) += cyclades.o
27 obj-$(CONFIG_STALLION) += stallion.o
28 obj-$(CONFIG_ISTALLION) += istallion.o
29 obj-$(CONFIG_DIGIEPCA) += epca.o
30 obj-$(CONFIG_SPECIALIX) += specialix.o
31 obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
32 obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
33 obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
34 obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
35 obj-$(CONFIG_MOXA_SMARTIO_NEW) += mxser_new.o
36 obj-$(CONFIG_COMPUTONE) += ip2/
37 obj-$(CONFIG_RISCOM8) += riscom8.o
38 obj-$(CONFIG_ISI) += isicom.o
39 obj-$(CONFIG_SYNCLINK) += synclink.o
40 obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
41 obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
42 obj-$(CONFIG_N_HDLC) += n_hdlc.o
43 obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
44 obj-$(CONFIG_SX) += sx.o generic_serial.o
45 obj-$(CONFIG_LGUEST_GUEST) += hvc_lguest.o
46 obj-$(CONFIG_RIO) += rio/ generic_serial.o
47 obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o
48 obj-$(CONFIG_HVC_ISERIES) += hvc_iseries.o
49 obj-$(CONFIG_HVC_RTAS) += hvc_rtas.o
50 obj-$(CONFIG_HVC_BEAT) += hvc_beat.o
51 obj-$(CONFIG_HVC_DRIVER) += hvc_console.o
52 obj-$(CONFIG_HVC_XEN) += hvc_xen.o
53 obj-$(CONFIG_RAW_DRIVER) += raw.o
54 obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
55 obj-$(CONFIG_MSPEC) += mspec.o
56 obj-$(CONFIG_MMTIMER) += mmtimer.o
57 obj-$(CONFIG_VIOCONS) += viocons.o
58 obj-$(CONFIG_VIOTAPE) += viotape.o
59 obj-$(CONFIG_HVCS) += hvcs.o
60 obj-$(CONFIG_SGI_MBCS) += mbcs.o
61 obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o
63 obj-$(CONFIG_PRINTER) += lp.o
64 obj-$(CONFIG_TIPAR) += tipar.o
66 obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
68 obj-$(CONFIG_DTLK) += dtlk.o
69 obj-$(CONFIG_R3964) += n_r3964.o
70 obj-$(CONFIG_APPLICOM) += applicom.o
71 obj-$(CONFIG_SONYPI) += sonypi.o
72 obj-$(CONFIG_RTC) += rtc.o
73 obj-$(CONFIG_HPET) += hpet.o
74 obj-$(CONFIG_GEN_RTC) += genrtc.o
75 obj-$(CONFIG_EFI_RTC) += efirtc.o
76 obj-$(CONFIG_SGI_DS1286) += ds1286.o
77 obj-$(CONFIG_SGI_IP27_RTC) += ip27-rtc.o
78 obj-$(CONFIG_DS1302) += ds1302.o
79 ifeq ($(CONFIG_GENERIC_NVRAM),y)
80 obj-$(CONFIG_NVRAM) += generic_nvram.o
82 obj-$(CONFIG_NVRAM) += nvram.o
84 obj-$(CONFIG_TOSHIBA) += toshiba.o
85 obj-$(CONFIG_I8K) += i8k.o
86 obj-$(CONFIG_DS1620) += ds1620.o
87 obj-$(CONFIG_HW_RANDOM) += hw_random/
88 obj-$(CONFIG_COBALT_LCD) += lcd.o
89 obj-$(CONFIG_PPDEV) += ppdev.o
90 obj-$(CONFIG_NWBUTTON) += nwbutton.o
91 obj-$(CONFIG_NWFLASH) += nwflash.o
92 obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
93 obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
94 obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
95 obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o
96 obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o
97 obj-$(CONFIG_GPIO_TB0219) += tb0219.o
98 obj-$(CONFIG_TELCLOCK) += tlclk.o
100 obj-$(CONFIG_WATCHDOG) += watchdog/
101 obj-$(CONFIG_MWAVE) += mwave/
102 obj-$(CONFIG_AGP) += agp/
103 obj-$(CONFIG_DRM) += drm/
104 obj-$(CONFIG_PCMCIA) += pcmcia/
105 obj-$(CONFIG_IPMI_HANDLER) += ipmi/
107 obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
108 obj-$(CONFIG_TCG_TPM) += tpm/
110 obj-$(CONFIG_PS3_FLASH) += ps3flash.o
112 obj-$(CONFIG_JS_RTC) += js-rtc.o
115 # Files generated that shall be removed upon make clean
116 clean-files := consolemap_deftbl.c defkeymap.c
118 quiet_cmd_conmk = CONMK $@
119 cmd_conmk = scripts/conmakehash $< > $@
121 $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
124 $(obj)/defkeymap.o: $(obj)/defkeymap.c
126 # Uncomment if you're changing the keymap and have an appropriate
127 # loadkeys version for the map. By default, we'll use the shipped
129 # GENERATE_KEYMAP := 1
131 ifdef GENERATE_KEYMAP
133 $(obj)/defkeymap.c $(obj)/%.c: $(src)/%.map
134 loadkeys --mktable $< > $@.tmp
135 sed -e 's/^static *//' $@.tmp > $@