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 | |
| 10 | obj-y += mem.o random.o tty_io.o n_tty.o tty_ioctl.o |
| 11 | |
| 12 | obj-$(CONFIG_LEGACY_PTYS) += pty.o |
| 13 | obj-$(CONFIG_UNIX98_PTYS) += pty.o |
| 14 | obj-y += misc.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_MAGIC_SYSRQ) += sysrq.o |
| 19 | obj-$(CONFIG_ESPSERIAL) += esp.o |
| 20 | obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o |
| 21 | obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o |
| 22 | obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o |
| 23 | obj-$(CONFIG_ROCKETPORT) += rocket.o |
| 24 | obj-$(CONFIG_SERIAL167) += serial167.o |
| 25 | obj-$(CONFIG_CYCLADES) += cyclades.o |
| 26 | obj-$(CONFIG_STALLION) += stallion.o |
| 27 | obj-$(CONFIG_ISTALLION) += istallion.o |
| 28 | obj-$(CONFIG_DIGIEPCA) += epca.o |
| 29 | obj-$(CONFIG_SPECIALIX) += specialix.o |
| 30 | obj-$(CONFIG_MOXA_INTELLIO) += moxa.o |
| 31 | obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o |
| 32 | obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o |
| 33 | obj-$(CONFIG_MOXA_SMARTIO) += mxser.o |
Adrian Bunk | 9c4b562 | 2006-01-19 18:07:10 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_COMPUTONE) += ip2/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | obj-$(CONFIG_RISCOM8) += riscom8.o |
| 36 | obj-$(CONFIG_ISI) += isicom.o |
| 37 | obj-$(CONFIG_SYNCLINK) += synclink.o |
| 38 | obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o |
Paul Fulghum | 705b6c7 | 2006-01-08 01:02:06 -0800 | [diff] [blame] | 39 | obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_N_HDLC) += n_hdlc.o |
| 41 | obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o |
| 42 | obj-$(CONFIG_SX) += sx.o generic_serial.o |
| 43 | obj-$(CONFIG_RIO) += rio/ generic_serial.o |
Ryan S. Arnold | 45d607e | 2006-03-27 21:25:16 +0200 | [diff] [blame] | 44 | obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o |
Stephen Rothwell | 8bff05b | 2006-07-13 18:51:22 +1000 | [diff] [blame] | 45 | obj-$(CONFIG_HVC_ISERIES) += hvc_iseries.o |
Arnd Bergmann | f4d1749 | 2006-03-27 21:26:03 +0200 | [diff] [blame] | 46 | obj-$(CONFIG_HVC_RTAS) += hvc_rtas.o |
Milton Miller | 938473b | 2006-06-10 09:54:16 -0700 | [diff] [blame] | 47 | obj-$(CONFIG_HVC_DRIVER) += hvc_console.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_RAW_DRIVER) += raw.o |
Greg Howard | 67639de | 2005-04-25 13:28:52 -0700 | [diff] [blame] | 49 | obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_MMTIMER) += mmtimer.o |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 51 | obj-$(CONFIG_VIOCONS) += viocons.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_VIOTAPE) += viotape.o |
| 53 | obj-$(CONFIG_HVCS) += hvcs.o |
Bruce Losure | e1e1974 | 2005-04-25 13:09:41 -0700 | [diff] [blame] | 54 | obj-$(CONFIG_SGI_MBCS) += mbcs.o |
Benjamin Herrenschmidt | a45b839 | 2006-07-04 15:06:20 +1000 | [diff] [blame] | 55 | obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 56 | |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 57 | obj-$(CONFIG_PRINTER) += lp.o |
| 58 | obj-$(CONFIG_TIPAR) += tipar.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 59 | |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 60 | obj-$(CONFIG_DTLK) += dtlk.o |
| 61 | obj-$(CONFIG_R3964) += n_r3964.o |
| 62 | obj-$(CONFIG_APPLICOM) += applicom.o |
| 63 | obj-$(CONFIG_SONYPI) += sonypi.o |
| 64 | obj-$(CONFIG_RTC) += rtc.o |
| 65 | obj-$(CONFIG_HPET) += hpet.o |
| 66 | obj-$(CONFIG_GEN_RTC) += genrtc.o |
| 67 | obj-$(CONFIG_EFI_RTC) += efirtc.o |
| 68 | obj-$(CONFIG_SGI_DS1286) += ds1286.o |
| 69 | obj-$(CONFIG_SGI_IP27_RTC) += ip27-rtc.o |
| 70 | obj-$(CONFIG_DS1302) += ds1302.o |
| 71 | obj-$(CONFIG_S3C2410_RTC) += s3c2410-rtc.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 72 | ifeq ($(CONFIG_GENERIC_NVRAM),y) |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 73 | obj-$(CONFIG_NVRAM) += generic_nvram.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | else |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 75 | obj-$(CONFIG_NVRAM) += nvram.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | endif |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 77 | obj-$(CONFIG_TOSHIBA) += toshiba.o |
| 78 | obj-$(CONFIG_I8K) += i8k.o |
| 79 | obj-$(CONFIG_DS1620) += ds1620.o |
Michael Buesch | 844dd05 | 2006-06-26 00:24:59 -0700 | [diff] [blame] | 80 | obj-$(CONFIG_HW_RANDOM) += hw_random/ |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 81 | obj-$(CONFIG_FTAPE) += ftape/ |
| 82 | obj-$(CONFIG_COBALT_LCD) += lcd.o |
| 83 | obj-$(CONFIG_PPDEV) += ppdev.o |
| 84 | obj-$(CONFIG_NWBUTTON) += nwbutton.o |
| 85 | obj-$(CONFIG_NWFLASH) += nwflash.o |
Jim Cromie | 7a8e2a5 | 2006-06-27 02:54:27 -0700 | [diff] [blame] | 86 | obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o |
| 87 | obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o |
| 88 | obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 89 | obj-$(CONFIG_CS5535_GPIO) += cs5535_gpio.o |
| 90 | obj-$(CONFIG_GPIO_VR41XX) += vr41xx_giu.o |
| 91 | obj-$(CONFIG_TANBAC_TB0219) += tb0219.o |
| 92 | obj-$(CONFIG_TELCLOCK) += tlclk.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | |
Jim Cromie | 5381315 | 2006-03-24 18:10:34 +0100 | [diff] [blame] | 94 | obj-$(CONFIG_WATCHDOG) += watchdog/ |
| 95 | obj-$(CONFIG_MWAVE) += mwave/ |
| 96 | obj-$(CONFIG_AGP) += agp/ |
| 97 | obj-$(CONFIG_DRM) += drm/ |
| 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | # Files generated that shall be removed upon make clean |
| 105 | clean-files := consolemap_deftbl.c defkeymap.c qtronixmap.c |
| 106 | |
| 107 | quiet_cmd_conmk = CONMK $@ |
| 108 | cmd_conmk = scripts/conmakehash $< > $@ |
| 109 | |
| 110 | $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) |
| 111 | $(call cmd,conmk) |
| 112 | |
| 113 | $(obj)/defkeymap.o: $(obj)/defkeymap.c |
| 114 | |
| 115 | $(obj)/qtronixmap.o: $(obj)/qtronixmap.c |
| 116 | |
| 117 | # Uncomment if you're changing the keymap and have an appropriate |
| 118 | # loadkeys version for the map. By default, we'll use the shipped |
| 119 | # versions. |
| 120 | # GENERATE_KEYMAP := 1 |
| 121 | |
| 122 | ifdef GENERATE_KEYMAP |
| 123 | |
| 124 | $(obj)/defkeymap.c $(obj)/qtronixmap.c: $(obj)/%.c: $(src)/%.map |
| 125 | loadkeys --mktable $< > $@.tmp |
| 126 | sed -e 's/^static *//' $@.tmp > $@ |
| 127 | rm $@.tmp |
| 128 | |
| 129 | endif |