[PATCH] font selection logic
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2002-12-27 23:52:35
Doesn't this look better?
--- linux-2.5.53/drivers/video/console/Makefile Fri Dec 20 11:42:38 2002
+++ linux-geert-2.5.53/drivers/video/console/Makefile Sat Dec 28 00:51:12 2002@@ -10,30 +10,16 @@ # Font handling font-objs := fonts.o -ifeq ($(CONFIG_FONT_SUN8x16),y) - font-objs += font_sun8x16.o -endif -ifeq ($(CONFIG_FONT_SUN12x22),y) - font-objs += font_sun12x22.o -endif -ifeq ($(CONFIG_FONT_8x8),y) - font-objs += font_8x8.o -endif -ifeq ($(CONFIG_FONT_8x16),y) - font-objs += font_8x16.o -endif -ifeq ($(CONFIG_FONT_6x11),y) - font-objs += font_6x11.o -endif -ifeq ($(CONFIG_FONT_PEARL_8x8),y) - font-objs += font_pearl_8x8.o -endif -ifeq ($(CONFIG_FONT_ACORN_8x8),y) - font-objs += font_acorn_8x8.o -endif -ifeq ($(CONFIG_FONT_MINI_4x6),y) - font-objs += font_mini_4x6.o -endif +font-objs-$(CONFIG_FONT_SUN8x16) += font_sun8x16.o +font-objs-$(CONFIG_FONT_SUN12x22) += font_sun12x22.o +font-objs-$(CONFIG_FONT_8x8) += font_8x8.o +font-objs-$(CONFIG_FONT_8x16) += font_8x16.o +font-objs-$(CONFIG_FONT_6x11) += font_6x11.o +font-objs-$(CONFIG_FONT_PEARL_8x8) += font_pearl_8x8.o +font-objs-$(CONFIG_FONT_ACORN_8x8) += font_acorn_8x8.o +font-objs-$(CONFIG_FONT_MINI_4x6) += font_mini_4x6.o + +font-objs += $(font-objs-y) # Each configuration option enables a list of files.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf