1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 260d4ae8dSGreg Kroah-Hartman# 360d4ae8dSGreg Kroah-Hartman# This file contains the font map for the default (hardware) font 460d4ae8dSGreg Kroah-Hartman# 560d4ae8dSGreg Kroah-HartmanFONTMAPFILE = cp437.uni 660d4ae8dSGreg Kroah-Hartman 760d4ae8dSGreg Kroah-Hartmanobj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \ 860d4ae8dSGreg Kroah-Hartman selection.o keyboard.o 960d4ae8dSGreg Kroah-Hartmanobj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o 1060d4ae8dSGreg Kroah-Hartmanobj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o 1160d4ae8dSGreg Kroah-Hartman 1260d4ae8dSGreg Kroah-Hartman# Files generated that shall be removed upon make clean 1360d4ae8dSGreg Kroah-Hartmanclean-files := consolemap_deftbl.c defkeymap.c 1460d4ae8dSGreg Kroah-Hartman 155f2fb52fSMasahiro Yamadahostprogs += conmakehash 1660d4ae8dSGreg Kroah-Hartman 174484aa80SMasahiro Yamadaquiet_cmd_conmk = CONMK $@ 184484aa80SMasahiro Yamada cmd_conmk = $(obj)/conmakehash $< > $@ 194484aa80SMasahiro Yamada 204484aa80SMasahiro Yamada$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) $(obj)/conmakehash 2160d4ae8dSGreg Kroah-Hartman $(call cmd,conmk) 2260d4ae8dSGreg Kroah-Hartman 2360d4ae8dSGreg Kroah-Hartman$(obj)/defkeymap.o: $(obj)/defkeymap.c 2460d4ae8dSGreg Kroah-Hartman 2560d4ae8dSGreg Kroah-Hartman# Uncomment if you're changing the keymap and have an appropriate 2660d4ae8dSGreg Kroah-Hartman# loadkeys version for the map. By default, we'll use the shipped 2760d4ae8dSGreg Kroah-Hartman# versions. 2860d4ae8dSGreg Kroah-Hartman# GENERATE_KEYMAP := 1 2960d4ae8dSGreg Kroah-Hartman 3060d4ae8dSGreg Kroah-Hartmanifdef GENERATE_KEYMAP 3160d4ae8dSGreg Kroah-Hartman 3260d4ae8dSGreg Kroah-Hartman$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map 3392b336f6SCong Ding loadkeys --mktable $< > $@ 3460d4ae8dSGreg Kroah-Hartman 3560d4ae8dSGreg Kroah-Hartmanendif 36