Makefile 853 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # This file contains the font map for the default (hardware) font
  3. #
  4. FONTMAPFILE = cp437.uni
  5. obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \
  6. selection.o keyboard.o
  7. obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
  8. obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
  9. # Files generated that shall be removed upon make clean
  10. clean-files := consolemap_deftbl.c defkeymap.c
  11. quiet_cmd_conmk = CONMK $@
  12. cmd_conmk = scripts/conmakehash $< > $@
  13. $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
  14. $(call cmd,conmk)
  15. $(obj)/defkeymap.o: $(obj)/defkeymap.c
  16. # Uncomment if you're changing the keymap and have an appropriate
  17. # loadkeys version for the map. By default, we'll use the shipped
  18. # versions.
  19. # GENERATE_KEYMAP := 1
  20. ifdef GENERATE_KEYMAP
  21. $(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
  22. loadkeys --mktable $< > $@
  23. endif