Greg Kroah-Hartman | 60d4ae8 | 2010-11-04 12:50:47 -0700 | [diff] [blame] | 1 | # |
| 2 | # This file contains the font map for the default (hardware) font |
| 3 | # |
| 4 | FONTMAPFILE = cp437.uni |
| 5 | |
| 6 | obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \ |
| 7 | selection.o keyboard.o |
| 8 | obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o |
| 9 | obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o |
| 10 | |
| 11 | # Files generated that shall be removed upon make clean |
| 12 | clean-files := consolemap_deftbl.c defkeymap.c |
| 13 | |
| 14 | quiet_cmd_conmk = CONMK $@ |
| 15 | cmd_conmk = scripts/conmakehash $< > $@ |
| 16 | |
| 17 | $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) |
| 18 | $(call cmd,conmk) |
| 19 | |
| 20 | $(obj)/defkeymap.o: $(obj)/defkeymap.c |
| 21 | |
| 22 | # Uncomment if you're changing the keymap and have an appropriate |
| 23 | # loadkeys version for the map. By default, we'll use the shipped |
| 24 | # versions. |
| 25 | # GENERATE_KEYMAP := 1 |
| 26 | |
| 27 | ifdef GENERATE_KEYMAP |
| 28 | |
| 29 | $(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map |
Cong Ding | 92b336f | 2012-12-08 01:09:03 +0000 | [diff] [blame] | 30 | loadkeys --mktable $< > $@ |
Greg Kroah-Hartman | 60d4ae8 | 2010-11-04 12:50:47 -0700 | [diff] [blame] | 31 | |
| 32 | endif |