Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / tty / vt / Makefile
blob2c8ce8b592ed2dc5ae60a5adf72311c058742053
1 # SPDX-License-Identifier: GPL-2.0
3 # This file contains the font map for the default (hardware) font
5 FONTMAPFILE = cp437.uni
7 obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \
8 selection.o keyboard.o \
9 vt.o defkeymap.o
10 obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
12 # Files generated that shall be removed upon make clean
13 clean-files := consolemap_deftbl.c defkeymap.c
15 hostprogs += conmakehash
17 quiet_cmd_conmk = CONMK $@
18 cmd_conmk = $(obj)/conmakehash $< > $@
20 $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) $(obj)/conmakehash
21 $(call cmd,conmk)
23 $(obj)/defkeymap.o: $(obj)/defkeymap.c
25 # Uncomment if you're changing the keymap and have an appropriate
26 # loadkeys version for the map. By default, we'll use the shipped
27 # versions.
28 # GENERATE_KEYMAP := 1
30 ifdef GENERATE_KEYMAP
32 $(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
33 loadkeys --mktable --unicode $< > $@
35 endif