[PATCH] sparc64 makefile dep fix for uart_console_init

From: Andres Salomon (dilinger@mp3revolution.net)
Date: Sat Oct 12 2002 - 03:24:05 EST


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


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:42 EST