blob: 9b26dda18a38c1e13fde4b3b92610a36d840d7ef [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# 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
6font-objs := fonts.o
7
8font-objs-$(CONFIG_FONT_SUN8x16) += font_sun8x16.o
9font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o
10font-objs-$(CONFIG_FONT_8x8) += font_8x8.o
11font-objs-$(CONFIG_FONT_8x16) += font_8x16.o
12font-objs-$(CONFIG_FONT_6x11) += font_6x11.o
Jurriaan303b86d2005-06-21 17:17:06 -070013font-objs-$(CONFIG_FONT_7x14) += font_7x14.o
14font-objs-$(CONFIG_FONT_10x18) += font_10x18.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o
16font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o
17font-objs-$(CONFIG_FONT_MINI_4x6) += font_mini_4x6.o
18
19font-objs += $(font-objs-y)
20
21# Each configuration option enables a list of files.
22
23obj-$(CONFIG_DUMMY_CONSOLE) += dummycon.o
24obj-$(CONFIG_SGI_NEWPORT_CONSOLE) += newport_con.o font.o
25obj-$(CONFIG_PROM_CONSOLE) += promcon.o promcon_tbl.o
26obj-$(CONFIG_STI_CONSOLE) += sticon.o sticore.o font.o
27obj-$(CONFIG_VGA_CONSOLE) += vgacon.o
28obj-$(CONFIG_MDA_CONSOLE) += mdacon.o
Antonino A. Daplasc465e052005-11-07 01:00:35 -080029obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon.o bitblit.o font.o softcursor.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070030ifeq ($(CONFIG_FB_TILEBLITTING),y)
31obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += tileblit.o
32endif
Antonino A. Daplas6cc50e12005-11-08 21:39:11 -080033ifeq ($(CONFIG_FRAMEBUFFER_CONSOLE_ROTATION),y)
Antonino A. Daplased8c0e92005-11-08 21:39:14 -080034obj-$(CONFIG_FRAMEBUFFER_CONSOLE) += fbcon_rotate.o fbcon_cw.o fbcon_ud.o \
35 fbcon_ccw.o
Antonino A. Daplas6cc50e12005-11-08 21:39:11 -080036endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
38obj-$(CONFIG_FB_STI) += sticore.o font.o
39
Thomas Winischhofer1bbb4f22005-08-29 17:01:16 +020040ifeq ($(CONFIG_USB_SISUSBVGA_CON),y)
41obj-$(CONFIG_USB_SISUSBVGA) += font.o
42endif
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044# Targets that kbuild needs to know about
45targets := promcon_tbl.c
46
47quiet_cmd_conmakehash = CNMKHSH $@
48 cmd_conmakehash = scripts/conmakehash $< | \
49 sed -e '/\#include <[^>]*>/p' -e 's/types/init/' \
50 -e 's/dfont\(_uni.*\]\)/promfont\1 __initdata/' > $@
51
52$(obj)/promcon_tbl.c: $(src)/prom.uni
53 $(call cmd,conmakehash)