mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
60d4ae8d43
The vt and other related code is moved into the drivers/tty/vt directory. Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
35 lines
904 B
Makefile
35 lines
904 B
Makefile
#
|
|
# This file contains the font map for the default (hardware) font
|
|
#
|
|
FONTMAPFILE = cp437.uni
|
|
|
|
obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \
|
|
selection.o keyboard.o
|
|
obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
|
|
obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
|
|
|
|
# Files generated that shall be removed upon make clean
|
|
clean-files := consolemap_deftbl.c defkeymap.c
|
|
|
|
quiet_cmd_conmk = CONMK $@
|
|
cmd_conmk = scripts/conmakehash $< > $@
|
|
|
|
$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
|
|
$(call cmd,conmk)
|
|
|
|
$(obj)/defkeymap.o: $(obj)/defkeymap.c
|
|
|
|
# Uncomment if you're changing the keymap and have an appropriate
|
|
# loadkeys version for the map. By default, we'll use the shipped
|
|
# versions.
|
|
# GENERATE_KEYMAP := 1
|
|
|
|
ifdef GENERATE_KEYMAP
|
|
|
|
$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
|
|
loadkeys --mktable $< > $@.tmp
|
|
sed -e 's/^static *//' $@.tmp > $@
|
|
rm $@.tmp
|
|
|
|
endif
|