Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 5 | # Font handling |
| 6 | font-objs := fonts.o |
| 7 | |
| 8 | font-objs-$(CONFIG_FONT_SUN8x16) += font_sun8x16.o |
| 9 | font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o |
| 10 | font-objs-$(CONFIG_FONT_8x8) += font_8x8.o |
| 11 | font-objs-$(CONFIG_FONT_8x16) += font_8x16.o |
| 12 | font-objs-$(CONFIG_FONT_6x11) += font_6x11.o |
Jurriaan | 303b86d | 2005-06-21 17:17:06 -0700 | [diff] [blame] | 13 | font-objs-$(CONFIG_FONT_7x14) += font_7x14.o |
| 14 | font-objs-$(CONFIG_FONT_10x18) += font_10x18.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o |
| 16 | font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o |
| 17 | font-objs-$(CONFIG_FONT_MINI_4x6) += font_mini_4x6.o |
| 18 | |
| 19 | font-objs += $(font-objs-y) |
| 20 | |
| 21 | # Each configuration option enables a list of files. |
| 22 | |
| 23 | obj-$(CONFIG_DUMMY_CONSOLE) += dummycon.o |
| 24 | obj-$(CONFIG_SGI_NEWPORT_CONSOLE) += newport_con.o font.o |
| 25 | obj-$(CONFIG_PROM_CONSOLE) += promcon.o promcon_tbl.o |
| 26 | obj-$(CONFIG_STI_CONSOLE) += sticon.o sticore.o font.o |
| 27 | obj-$(CONFIG_VGA_CONSOLE) += vgacon.o |
| 28 | obj-$(CONFIG_MDA_CONSOLE) += mdacon.o |
Antonino A. Daplas | c465e05 | 2005-11-07 01:00:35 -0800 | [diff] [blame] | 29 | obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o font.o softcursor.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | ifeq ($(CONFIG_FB_TILEBLITTING),y) |
| 31 | obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += tileblit.o |
| 32 | endif |
Antonino A. Daplas | 6cc50e1 | 2005-11-08 21:39:11 -0800 | [diff] [blame] | 33 | ifeq ($(CONFIG_FRAMEBUFFER_CONSOLE_ROTATION),y) |
Antonino A. Daplas | ed8c0e9 | 2005-11-08 21:39:14 -0800 | [diff] [blame] | 34 | obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon_rotate.o fbcon_cw.o fbcon_ud.o \ |
| 35 | fbcon_ccw.o |
Antonino A. Daplas | 6cc50e1 | 2005-11-08 21:39:11 -0800 | [diff] [blame] | 36 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
| 38 | obj-$(CONFIG_FB_STI) += sticore.o font.o |
| 39 | |
Thomas Winischhofer | 1bbb4f2 | 2005-08-29 17:01:16 +0200 | [diff] [blame] | 40 | ifeq ($(CONFIG_USB_SISUSBVGA_CON),y) |
| 41 | obj-$(CONFIG_USB_SISUSBVGA) += font.o |
| 42 | endif |
| 43 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | # Targets that kbuild needs to know about |
| 45 | targets := promcon_tbl.c |
| 46 | |
| 47 | quiet_cmd_conmakehash = CNMKHSH $@ |
| 48 | cmd_conmakehash = scripts/conmakehash $< | \ |
| 49 | sed -e '/\#include <[^>]*>/p' -e 's/types/init/' \ |
Sam Ravnborg | 353076f | 2007-06-04 23:52:45 -0700 | [diff] [blame] | 50 | -e 's/dfont\(_uni.*\]\)/promfont\1 /' > $@ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | |
| 52 | $(obj)/promcon_tbl.c: $(src)/prom.uni |
| 53 | $(call cmd,conmakehash) |