# SPDX-License-Identifier: GPL-2.0 # # This file contains the font map for the default (hardware) font # FONTMAPFILE = cp437.uni obj-$([31mCONFIG_VT[0m) += vt_ioctl.o vc_screen.o \ selection.o keyboard.o obj-$([31mCONFIG_CONSOLE_TRANSLATIONS[0m) += consolemap.o consolemap_deftbl.o obj-$([31mCONFIG_HW_CONSOLE[0m) += 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 $< > $@ endif |