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