Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Makefile for the Linux graphics to console drivers.
  2. # 5 Aug 1999, James Simmons, <mailto:jsimmons@users.sf.net>
  3. # Rewritten to use lists instead of if-statements.
  4. # Font handling
  5. font-objs := fonts.o
  6. font-objs-$(CONFIG_FONT_SUN8x16) += font_sun8x16.o
  7. font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o
  8. font-objs-$(CONFIG_FONT_8x8) += font_8x8.o
  9. font-objs-$(CONFIG_FONT_8x16) += font_8x16.o
  10. font-objs-$(CONFIG_FONT_6x11) += font_6x11.o
  11. font-objs-$(CONFIG_FONT_7x14) += font_7x14.o
  12. font-objs-$(CONFIG_FONT_10x18) += font_10x18.o
  13. font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
  14. font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o
  15. font-objs-$(CONFIG_FONT_MINI_4x6) += font_mini_4x6.o
  16. font-objs += $(font-objs-y)
  17. # Each configuration option enables a list of files.
  18. obj-$(CONFIG_DUMMY_CONSOLE) += dummycon.o
  19. obj-$(CONFIG_SGI_NEWPORT_CONSOLE) += newport_con.o font.o
  20. obj-$(CONFIG_PROM_CONSOLE) += promcon.o promcon_tbl.o
  21. obj-$(CONFIG_STI_CONSOLE) += sticon.o sticore.o font.o
  22. obj-$(CONFIG_VGA_CONSOLE) += vgacon.o
  23. obj-$(CONFIG_MDA_CONSOLE) += mdacon.o
  24. obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o font.o
  25. ifeq ($(CONFIG_FB_TILEBLITTING),y)
  26. obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += tileblit.o
  27. endif
  28. obj-$(CONFIG_FB_STI) += sticore.o font.o
  29. ifeq ($(CONFIG_USB_SISUSBVGA_CON),y)
  30. obj-$(CONFIG_USB_SISUSBVGA) += font.o
  31. endif
  32. # Targets that kbuild needs to know about
  33. targets := promcon_tbl.c
  34. quiet_cmd_conmakehash = CNMKHSH $@
  35. cmd_conmakehash = scripts/conmakehash $< | \
  36. sed -e '/\#include <[^>]*>/p' -e 's/types/init/' \
  37. -e 's/dfont\(_uni.*\]\)/promfont\1 __initdata/' > $@
  38. $(obj)/promcon_tbl.c: $(src)/prom.uni
  39. $(call cmd,conmakehash)