* [PATCH] sparc64 makefile dep fix for uart_console_init
@ 2002-10-12 8:24 Andres Salomon
2002-10-12 8:35 ` David S. Miller
0 siblings, 1 reply; 4+ messages in thread
From: Andres Salomon @ 2002-10-12 8:24 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, davem, alan
[-- Attachment #1: Type: text/plain, Size: 551 bytes --]
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
[-- Attachment #2: serialmake.diff --]
[-- Type: text/plain, Size: 454 bytes --]
--- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparc64 makefile dep fix for uart_console_init
2002-10-12 8:24 [PATCH] sparc64 makefile dep fix for uart_console_init Andres Salomon
@ 2002-10-12 8:35 ` David S. Miller
2002-10-12 8:53 ` Russell King
0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2002-10-12 8:35 UTC (permalink / raw)
To: dilinger; +Cc: torvalds, linux-kernel, alan
From: Andres Salomon <dilinger@mp3revolution.net>
Date: Sat, 12 Oct 2002 04:24:05 -0400
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
Yeah that's weird. Just enable one of the sun serial
drivers for now and it will fix itself.
Probably a fix could be to add CONFIG_SERIAL_SUNCORE to the
checks that set CONFIG_SERIAL_CORE, I think that's how I'll
fix this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparc64 makefile dep fix for uart_console_init
2002-10-12 8:35 ` David S. Miller
@ 2002-10-12 8:53 ` Russell King
2002-10-12 9:07 ` David S. Miller
0 siblings, 1 reply; 4+ messages in thread
From: Russell King @ 2002-10-12 8:53 UTC (permalink / raw)
To: David S. Miller; +Cc: dilinger, torvalds, linux-kernel, alan
On Sat, Oct 12, 2002 at 01:35:07AM -0700, David S. Miller wrote:
> Probably a fix could be to add CONFIG_SERIAL_SUNCORE to the
> checks that set CONFIG_SERIAL_CORE, I think that's how I'll
> fix this.
Agreed. Do you want me to make the change?
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] sparc64 makefile dep fix for uart_console_init
2002-10-12 8:53 ` Russell King
@ 2002-10-12 9:07 ` David S. Miller
0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2002-10-12 9:07 UTC (permalink / raw)
To: rmk; +Cc: dilinger, torvalds, linux-kernel, alan
From: Russell King <rmk@arm.linux.org.uk>
Date: Sat, 12 Oct 2002 09:53:48 +0100
On Sat, Oct 12, 2002 at 01:35:07AM -0700, David S. Miller wrote:
> Probably a fix could be to add CONFIG_SERIAL_SUNCORE to the
> checks that set CONFIG_SERIAL_CORE, I think that's how I'll
> fix this.
Agreed. Do you want me to make the change?
Yes, please do.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-12 9:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-12 8:24 [PATCH] sparc64 makefile dep fix for uart_console_init Andres Salomon
2002-10-12 8:35 ` David S. Miller
2002-10-12 8:53 ` Russell King
2002-10-12 9:07 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®