lkml.org 
[lkml]   [2002]   [Oct]   [12]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSat, 12 Oct 2002 04:24:05 -0400
FromAndres Salomon <>
Subject[PATCH] sparc64 makefile dep fix for uart_console_init
drivers/serial/Config.in defines the following:
if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
	define_bool CONFIG_SERIAL_SUNCORE y
	define_bool CONFIG_SERIAL_CORE_CONSOLE y

There are no deps for CONFIG_SERIAL_CORE_CONSOLE in
drivers/serial/Makefile, so core.o isn't built on sparc32/64, and
linking gives an undefined reference to uart_console_init() error.  Not
sure if this is the desired way to deal w/ such deps, but it gets the
job done.

-- 
It's not denial.  I'm just selective about the reality I accept.
	-- Bill Watterson
--- drivers/serial/Makefile.orig	2002-10-12 04:01:19.000000000 -0400
+++ drivers/serial/Makefile	2002-10-12 04:02:29.000000000 -0400
@@ -10,6 +10,7 @@
 serial-8250-$(CONFIG_PCI) += 8250_pci.o
 serial-8250-$(CONFIG_ISAPNP) += 8250_pnp.o
 obj-$(CONFIG_SERIAL_CORE) += core.o
+obj-$(CONFIG_SERIAL_CORE_CONSOLE) += core.o
 obj-$(CONFIG_SERIAL_21285) += 21285.o
 obj-$(CONFIG_SERIAL_8250) += 8250.o $(serial-8250-y)
 obj-$(CONFIG_SERIAL_8250_CS) += 8250_cs.o
\
 
 \ /
  Last update: 2005-03-22 12:30    [W:0.260 / U:0.270 seconds]
©2003-2008 Jasper Spaans