18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# This file contains the font map for the default (hardware) font 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ciFONTMAPFILE = cp437.uni 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciobj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \ 88c2ecf20Sopenharmony_ci selection.o keyboard.o 98c2ecf20Sopenharmony_ciobj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o 108c2ecf20Sopenharmony_ciobj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci# Files generated that shall be removed upon make clean 138c2ecf20Sopenharmony_ciclean-files := consolemap_deftbl.c defkeymap.c 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_cihostprogs += conmakehash 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciquiet_cmd_conmk = CONMK $@ 188c2ecf20Sopenharmony_ci cmd_conmk = $(obj)/conmakehash $< > $@ 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) $(obj)/conmakehash 218c2ecf20Sopenharmony_ci $(call cmd,conmk) 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci$(obj)/defkeymap.o: $(obj)/defkeymap.c 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci# Uncomment if you're changing the keymap and have an appropriate 268c2ecf20Sopenharmony_ci# loadkeys version for the map. By default, we'll use the shipped 278c2ecf20Sopenharmony_ci# versions. 288c2ecf20Sopenharmony_ci# GENERATE_KEYMAP := 1 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciifdef GENERATE_KEYMAP 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map 338c2ecf20Sopenharmony_ci loadkeys --mktable $< > $@ 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciendif 36