fix a kmap leak in virtio_console
[linux/fpc-iii.git] / drivers / tty / vt / Makefile
blob17ae94cb29f8e72d710fd5856a74e8abdc1e554b
2 # This file contains the font map for the default (hardware) font
4 FONTMAPFILE = cp437.uni
6 obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \
7 selection.o keyboard.o
8 obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
9 obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
11 # Files generated that shall be removed upon make clean
12 clean-files := consolemap_deftbl.c defkeymap.c
14 quiet_cmd_conmk = CONMK $@
15 cmd_conmk = scripts/conmakehash $< > $@
17 $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
18 $(call cmd,conmk)
20 $(obj)/defkeymap.o: $(obj)/defkeymap.c
22 # Uncomment if you're changing the keymap and have an appropriate
23 # loadkeys version for the map. By default, we'll use the shipped
24 # versions.
25 # GENERATE_KEYMAP := 1
27 ifdef GENERATE_KEYMAP
29 $(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
30 loadkeys --mktable $< > $@
32 endif