]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the kernel character device drivers. | |
3 | # | |
4 | ||
5 | # | |
6 | # This file contains the font map for the default (hardware) font | |
7 | # | |
8 | FONTMAPFILE = cp437.uni | |
9 | ||
9e48565d | 10 | obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o tty_buffer.o tty_port.o |
1da177e4 LT |
11 | |
12 | obj-$(CONFIG_LEGACY_PTYS) += pty.o | |
13 | obj-$(CONFIG_UNIX98_PTYS) += pty.o | |
14 | obj-y += misc.o | |
a29ccf6f DW |
15 | obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o selection.o keyboard.o |
16 | obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o | |
1da177e4 | 17 | obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o |
522ed776 | 18 | obj-$(CONFIG_AUDIT) += tty_audit.o |
1da177e4 LT |
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 | |
20fd1e3b | 29 | obj-$(CONFIG_NOZOMI) += nozomi.o |
1da177e4 LT |
30 | obj-$(CONFIG_DIGIEPCA) += epca.o |
31 | obj-$(CONFIG_SPECIALIX) += specialix.o | |
32 | obj-$(CONFIG_MOXA_INTELLIO) += moxa.o | |
33 | obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o | |
34 | obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o | |
35 | obj-$(CONFIG_MOXA_SMARTIO) += mxser.o | |
9c4b562a | 36 | obj-$(CONFIG_COMPUTONE) += ip2/ |
1da177e4 LT |
37 | obj-$(CONFIG_RISCOM8) += riscom8.o |
38 | obj-$(CONFIG_ISI) += isicom.o | |
39 | obj-$(CONFIG_SYNCLINK) += synclink.o | |
40 | obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o | |
705b6c7b | 41 | obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o |
1da177e4 LT |
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_RIO) += rio/ generic_serial.o | |
45d607ed | 46 | obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o |
8bff05b0 | 47 | obj-$(CONFIG_HVC_ISERIES) += hvc_iseries.o |
f4d1749e | 48 | obj-$(CONFIG_HVC_RTAS) += hvc_rtas.o |
3cdc20e5 | 49 | obj-$(CONFIG_HVC_BEAT) += hvc_beat.o |
938473b2 | 50 | obj-$(CONFIG_HVC_DRIVER) += hvc_console.o |
611e097d | 51 | obj-$(CONFIG_HVC_IRQ) += hvc_irq.o |
b536b4b9 | 52 | obj-$(CONFIG_HVC_XEN) += hvc_xen.o |
44a01d5b | 53 | obj-$(CONFIG_HVC_IUCV) += hvc_iucv.o |
d5e54913 | 54 | obj-$(CONFIG_HVC_UDBG) += hvc_udbg.o |
31610434 | 55 | obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o |
1da177e4 | 56 | obj-$(CONFIG_RAW_DRIVER) += raw.o |
67639deb | 57 | obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o |
17a3b050 | 58 | obj-$(CONFIG_MSPEC) += mspec.o |
1da177e4 | 59 | obj-$(CONFIG_MMTIMER) += mmtimer.o |
1da177e4 LT |
60 | obj-$(CONFIG_VIOTAPE) += viotape.o |
61 | obj-$(CONFIG_HVCS) += hvcs.o | |
fe9e8d53 | 62 | obj-$(CONFIG_IBM_BSR) += bsr.o |
e1e19747 | 63 | obj-$(CONFIG_SGI_MBCS) += mbcs.o |
a45b8395 | 64 | obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o |
2dc63a84 | 65 | obj-$(CONFIG_BFIN_OTP) += bfin-otp.o |
1da177e4 | 66 | |
53813158 | 67 | obj-$(CONFIG_PRINTER) += lp.o |
53813158 | 68 | |
7726942f RB |
69 | obj-$(CONFIG_APM_EMULATION) += apm-emulation.o |
70 | ||
53813158 JC |
71 | obj-$(CONFIG_DTLK) += dtlk.o |
72 | obj-$(CONFIG_R3964) += n_r3964.o | |
73 | obj-$(CONFIG_APPLICOM) += applicom.o | |
74 | obj-$(CONFIG_SONYPI) += sonypi.o | |
75 | obj-$(CONFIG_RTC) += rtc.o | |
76 | obj-$(CONFIG_HPET) += hpet.o | |
77 | obj-$(CONFIG_GEN_RTC) += genrtc.o | |
78 | obj-$(CONFIG_EFI_RTC) += efirtc.o | |
53813158 | 79 | obj-$(CONFIG_DS1302) += ds1302.o |
ef141a0b | 80 | obj-$(CONFIG_XILINX_HWICAP) += xilinx_hwicap/ |
1da177e4 | 81 | ifeq ($(CONFIG_GENERIC_NVRAM),y) |
53813158 | 82 | obj-$(CONFIG_NVRAM) += generic_nvram.o |
1da177e4 | 83 | else |
53813158 | 84 | obj-$(CONFIG_NVRAM) += nvram.o |
1da177e4 | 85 | endif |
53813158 JC |
86 | obj-$(CONFIG_TOSHIBA) += toshiba.o |
87 | obj-$(CONFIG_I8K) += i8k.o | |
88 | obj-$(CONFIG_DS1620) += ds1620.o | |
844dd05f | 89 | obj-$(CONFIG_HW_RANDOM) += hw_random/ |
53813158 JC |
90 | obj-$(CONFIG_PPDEV) += ppdev.o |
91 | obj-$(CONFIG_NWBUTTON) += nwbutton.o | |
92 | obj-$(CONFIG_NWFLASH) += nwflash.o | |
7a8e2a5e JC |
93 | obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o |
94 | obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o | |
95 | obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o | |
53813158 JC |
96 | obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o |
97 | obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o | |
09762516 | 98 | obj-$(CONFIG_GPIO_TB0219) += tb0219.o |
53813158 JC |
99 | obj-$(CONFIG_TELCLOCK) += tlclk.o |
100 | ||
53813158 JC |
101 | obj-$(CONFIG_MWAVE) += mwave/ |
102 | obj-$(CONFIG_AGP) += agp/ | |
53813158 JC |
103 | obj-$(CONFIG_PCMCIA) += pcmcia/ |
104 | obj-$(CONFIG_IPMI_HANDLER) += ipmi/ | |
105 | ||
106 | obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o | |
107 | obj-$(CONFIG_TCG_TPM) += tpm/ | |
108 | ||
f9652635 GU |
109 | obj-$(CONFIG_PS3_FLASH) += ps3flash.o |
110 | ||
2240598c AV |
111 | obj-$(CONFIG_JS_RTC) += js-rtc.o |
112 | js-rtc-y = rtc.o | |
113 | ||
1da177e4 | 114 | # Files generated that shall be removed upon make clean |
af8b1287 | 115 | clean-files := consolemap_deftbl.c defkeymap.c |
1da177e4 LT |
116 | |
117 | quiet_cmd_conmk = CONMK $@ | |
118 | cmd_conmk = scripts/conmakehash $< > $@ | |
119 | ||
120 | $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) | |
121 | $(call cmd,conmk) | |
122 | ||
123 | $(obj)/defkeymap.o: $(obj)/defkeymap.c | |
124 | ||
1da177e4 LT |
125 | # Uncomment if you're changing the keymap and have an appropriate |
126 | # loadkeys version for the map. By default, we'll use the shipped | |
127 | # versions. | |
128 | # GENERATE_KEYMAP := 1 | |
129 | ||
130 | ifdef GENERATE_KEYMAP | |
131 | ||
e2a57a81 | 132 | $(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map |
1da177e4 LT |
133 | loadkeys --mktable $< > $@.tmp |
134 | sed -e 's/^static *//' $@.tmp > $@ | |
135 | rm $@.tmp | |
136 | ||
137 | endif |