From: Andres Salomon <dilinger@mp3revolution.net>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org, davem@redhat.com, alan@lxorguk.ukuu.org.uk
Subject: [PATCH] sparc64 makefile dep fix for uart_console_init
Date: Sat, 12 Oct 2002 04:24:05 -0400 [thread overview]
Message-ID: <20021012082405.GB10000@chunk.voxel.net> (raw)
[-- 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
next reply other threads:[~2002-10-12 8:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-12 8:24 Andres Salomon [this message]
2002-10-12 8:35 ` David S. Miller
2002-10-12 8:53 ` Russell King
2002-10-12 9:07 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021012082405.GB10000@chunk.voxel.net \
--to=dilinger@mp3revolution.net \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®