Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Greg Kroah-Hartman | 96fd7ce | 2010-11-04 11:10:29 -0700 | [diff] [blame^] | 10 | obj-y += mem.o random.o |
Samo Pogacnik | 24b4b67 | 2010-08-25 20:44:07 +0200 | [diff] [blame] | 11 | obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | obj-y += misc.o |
David Woodhouse | a29ccf6 | 2008-06-03 14:59:40 +0100 | [diff] [blame] | 13 | obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o selection.o keyboard.o |
Mike Frysinger | 0b91421 | 2009-06-11 14:01:45 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_BFIN_JTAG_COMM) += bfin_jtag_comm.o |
David Woodhouse | a29ccf6 | 2008-06-03 14:59:40 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o |
| 18 | obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o |
| 19 | obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o |
| 20 | obj-$(CONFIG_ROCKETPORT) += rocket.o |
| 21 | obj-$(CONFIG_SERIAL167) += serial167.o |
| 22 | obj-$(CONFIG_CYCLADES) += cyclades.o |
| 23 | obj-$(CONFIG_STALLION) += stallion.o |
| 24 | obj-$(CONFIG_ISTALLION) += istallion.o |
Frank Seidel | 20fd1e3 | 2007-11-09 14:49:23 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_NOZOMI) += nozomi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_DIGIEPCA) += epca.o |
| 27 | obj-$(CONFIG_SPECIALIX) += specialix.o |
| 28 | obj-$(CONFIG_MOXA_INTELLIO) += moxa.o |
| 29 | obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o |
| 30 | obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o |
| 31 | obj-$(CONFIG_MOXA_SMARTIO) += mxser.o |
Adrian Bunk | 9c4b562 | 2006-01-19 18:07:10 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_COMPUTONE) += ip2/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | obj-$(CONFIG_RISCOM8) += riscom8.o |
| 34 | obj-$(CONFIG_ISI) += isicom.o |
| 35 | obj-$(CONFIG_SYNCLINK) += synclink.o |
| 36 | obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o |
Paul Fulghum | 705b6c7 | 2006-01-08 01:02:06 -0800 | [diff] [blame] | 37 | obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o |
| 39 | obj-$(CONFIG_SX) += sx.o generic_serial.o |
| 40 | obj-$(CONFIG_RIO) += rio/ generic_serial.o |
Ryan S. Arnold | 45d607e | 2006-03-27 21:25:16 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o |
Stephen Rothwell | 8bff05b | 2006-07-13 18:51:22 +1000 | [diff] [blame] | 42 | obj-$(CONFIG_HVC_ISERIES) += hvc_iseries.o |
Arnd Bergmann | f4d1749 | 2006-03-27 21:26:03 +0200 | [diff] [blame] | 43 | obj-$(CONFIG_HVC_RTAS) += hvc_rtas.o |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 44 | obj-$(CONFIG_HVC_TILE) += hvc_tile.o |
Ishizaki Kou | 3cdc20e | 2007-02-02 16:44:08 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_HVC_BEAT) += hvc_beat.o |
Milton Miller | 938473b | 2006-06-10 09:54:16 -0700 | [diff] [blame] | 46 | obj-$(CONFIG_HVC_DRIVER) += hvc_console.o |
Christian Borntraeger | 611e097 | 2008-06-20 15:24:08 +0200 | [diff] [blame] | 47 | obj-$(CONFIG_HVC_IRQ) += hvc_irq.o |
Jeremy Fitzhardinge | b536b4b | 2007-07-17 18:37:06 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_HVC_XEN) += hvc_xen.o |
Hendrik Brueckner | 44a01d5 | 2008-12-25 13:38:57 +0100 | [diff] [blame] | 49 | obj-$(CONFIG_HVC_IUCV) += hvc_iucv.o |
David Gibson | d5e5491 | 2008-11-05 14:20:17 +0000 | [diff] [blame] | 50 | obj-$(CONFIG_HVC_UDBG) += hvc_udbg.o |
Rusty Russell | 3161043 | 2007-10-22 11:03:39 +1000 | [diff] [blame] | 51 | obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_RAW_DRIVER) += raw.o |
Greg Howard | 67639de | 2005-04-25 13:28:52 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o |
Jes Sorensen | 17a3b05 | 2006-09-27 01:50:11 -0700 | [diff] [blame] | 54 | obj-$(CONFIG_MSPEC) += mspec.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | obj-$(CONFIG_MMTIMER) += mmtimer.o |
Dimitri Sivanich | fbd8ae1 | 2009-09-23 15:57:15 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 57 | obj-$(CONFIG_VIOTAPE) += viotape.o |
| 58 | obj-$(CONFIG_HVCS) += hvcs.o |
Sonny Rao | fe9e8d5 | 2008-07-08 15:45:11 +1000 | [diff] [blame] | 59 | obj-$(CONFIG_IBM_BSR) += bsr.o |
Bruce Losure | e1e1974 | 2005-04-25 13:09:41 -0700 | [diff] [blame] | 60 | obj-$(CONFIG_SGI_MBCS) += mbcs.o |
Benjamin Herrenschmidt | a45b839 | 2006-07-04 15:06:20 +1000 | [diff] [blame] | 61 | obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o |
Mike Frysinger | 2dc63a8 | 2008-04-25 08:04:56 +0800 | [diff] [blame] | 62 | obj-$(CONFIG_BFIN_OTP) += bfin-otp.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 64 | obj-$(CONFIG_PRINTER) += lp.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | |
Ralf Baechle | 7726942 | 2007-02-09 17:08:57 +0000 | [diff] [blame] | 66 | obj-$(CONFIG_APM_EMULATION) += apm-emulation.o |
| 67 | |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 68 | obj-$(CONFIG_DTLK) += dtlk.o |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 69 | obj-$(CONFIG_APPLICOM) += applicom.o |
| 70 | obj-$(CONFIG_SONYPI) += sonypi.o |
| 71 | obj-$(CONFIG_RTC) += rtc.o |
| 72 | obj-$(CONFIG_HPET) += hpet.o |
| 73 | obj-$(CONFIG_GEN_RTC) += genrtc.o |
| 74 | obj-$(CONFIG_EFI_RTC) += efirtc.o |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 75 | obj-$(CONFIG_DS1302) += ds1302.o |
Stephen Neuendorffer | ef141a0 | 2008-02-06 04:24:09 +1100 | [diff] [blame] | 76 | obj-$(CONFIG_XILINX_HWICAP) += xilinx_hwicap/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 77 | ifeq ($(CONFIG_GENERIC_NVRAM),y) |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 78 | obj-$(CONFIG_NVRAM) += generic_nvram.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 79 | else |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 80 | obj-$(CONFIG_NVRAM) += nvram.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 81 | endif |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 82 | obj-$(CONFIG_TOSHIBA) += toshiba.o |
| 83 | obj-$(CONFIG_I8K) += i8k.o |
| 84 | obj-$(CONFIG_DS1620) += ds1620.o |
Michael Buesch | 844dd05 | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 85 | obj-$(CONFIG_HW_RANDOM) += hw_random/ |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 86 | obj-$(CONFIG_PPDEV) += ppdev.o |
| 87 | obj-$(CONFIG_NWBUTTON) += nwbutton.o |
| 88 | obj-$(CONFIG_NWFLASH) += nwflash.o |
Jim Cromie | 7a8e2a5 | 2006-06-27 02:54:27 -0700 | [diff] [blame] | 89 | obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o |
| 90 | obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o |
| 91 | obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 92 | obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o |
Yoichi Yuasa | 0976251 | 2007-05-06 14:51:58 -0700 | [diff] [blame] | 93 | obj-$(CONFIG_GPIO_TB0219) += tb0219.o |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 94 | obj-$(CONFIG_TELCLOCK) += tlclk.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 95 | |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 96 | obj-$(CONFIG_MWAVE) += mwave/ |
| 97 | obj-$(CONFIG_AGP) += agp/ |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 98 | obj-$(CONFIG_PCMCIA) += pcmcia/ |
| 99 | obj-$(CONFIG_IPMI_HANDLER) += ipmi/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 100 | |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 101 | obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o |
| 102 | obj-$(CONFIG_TCG_TPM) += tpm/ |
| 103 | |
Geert Uytterhoeven | f965263 | 2007-07-21 04:37:48 -0700 | [diff] [blame] | 104 | obj-$(CONFIG_PS3_FLASH) += ps3flash.o |
Marco Stornelli | 56d611a | 2010-05-26 14:43:54 -0700 | [diff] [blame] | 105 | obj-$(CONFIG_RAMOOPS) += ramoops.o |
Geert Uytterhoeven | f965263 | 2007-07-21 04:37:48 -0700 | [diff] [blame] | 106 | |
Al Viro | 2240598 | 2007-07-22 00:37:48 -0700 | [diff] [blame] | 107 | obj-$(CONFIG_JS_RTC) += js-rtc.o |
| 108 | js-rtc-y = rtc.o |
| 109 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 110 | # Files generated that shall be removed upon make clean |
Yoichi Yuasa | af8b128 | 2006-10-02 23:19:00 +0900 | [diff] [blame] | 111 | clean-files := consolemap_deftbl.c defkeymap.c |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 112 | |
| 113 | quiet_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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 121 | # 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 | |
| 126 | ifdef GENERATE_KEYMAP |
| 127 | |
Maarten Bressers | e2a57a8 | 2007-10-08 15:59:13 -0700 | [diff] [blame] | 128 | $(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | loadkeys --mktable $< > $@.tmp |
| 130 | sed -e 's/^static *//' $@.tmp > $@ |
| 131 | rm $@.tmp |
| 132 | |
| 133 | endif |