Skip to contentSkip to conversation

FB_INTEL must depend on HW_CONSOLE

PATCH New Adrian Bunk 1 participant 1 message Jul 23, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FB_INTEL must depend on HW_CONSOLE

CONFIG_FB_INTEL=y and CONFIG_HW_CONSOLE results in the following compile error:

<-- snip -->

...
LD vmlinux
drivers/built-in.o: In function `intelfb_pci_register':
intelfbdrv.c:(.text+0x171960): undefined reference to color_table' intelfbdrv.c:(.text+0x171971): undefined reference to default_red' intelfbdrv.c:(.text+0x17197e): undefined reference to default_grn' intelfbdrv.c:(.text+0x17198b): undefined reference to default_blu' intelfbdrv.c:(.text+0x17199a): undefined reference to `color_table'
make: *** [vmlinux] Error 1

<-- snip -->

drivers/video/Kconfig renamed from drivers/video/Kconfig.old +1 -1
@@ -756,7 +756,7 @@
 
 config FB_INTEL
 	tristate "Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)"
-	depends on FB && EXPERIMENTAL && PCI && X86 && !X86_64
+	depends on FB && HW_CONSOLE && EXPERIMENTAL && PCI && X86 && !X86_64
 	select AGP
 	select AGP_INTEL
 	select FB_MODE_HELPERS

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click