From: Rich Baum <richbaum@acm.org>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@transmeta.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: [PATCH] fix 2.4.8 compile errors
Date: Mon, 13 Aug 2001 21:47:28 -0500 [thread overview]
Message-ID: <100C620A6B75@coral.indstate.edu> (raw)
This patch fixes two compile errors I get when compiling 2.4.8 on my K6-2.
Both of these errors are caused by compiling drivers for other architectures.
I've changed the Config.in files to keep these options from being selected
on the wrong architecture.
Let me know if you have any questions about this patch.
Rich
diff -urN -X dontdiff linux-2.4.8/drivers/net/Config.in
rb/drivers/net/Config.in
--- linux-2.4.8/drivers/net/Config.in Sat Aug 11 11:10:07 2001
+++ rb/drivers/net/Config.in Mon Aug 13 20:43:41 2001
@@ -28,7 +28,8 @@
bool 'Ethernet (10 or 100Mbit)' CONFIG_NET_ETHERNET
if [ "$CONFIG_NET_ETHERNET" = "y" ]; then
- dep_bool ' ARM EBSA110 AM79C961A support' CONFIG_ARM_AM79C961A
$CONFIG_ARCH_EBSA110
+ if [ "$ARCH" = "arm" ]; then
+ dep_bool ' ARM EBSA110 AM79C961A support' CONFIG_ARM_AM79C961A
$CONFIG_ARCH_EBSA110
if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
source drivers/acorn/net/Config.in
fi
diff -urN -X dontdiff linux-2.4.8/drivers/video/Config.in
rb/drivers/video/Config.in
--- linux-2.4.8/drivers/video/Config.in Sat Aug 11 11:10:30 2001
+++ rb/drivers/video/Config.in Mon Aug 13 20:43:46 2001
@@ -103,7 +103,8 @@
fi
tristate ' NEC PowerVR 2 display support' CONFIG_FB_PVR2
dep_bool ' Debug pvr2fb' CONFIG_FB_PVR2_DEBUG $CONFIG_FB_PVR2
- bool ' Epson 1355 framebuffer support' CONFIG_FB_E1355
+ if [ "$ARCH" = "sh" ]; then
+ bool ' Epson 1355 framebuffer support' CONFIG_FB_E1355
if [ "$CONFIG_FB_E1355" = "y" ]; then
hex ' Register Base Address' CONFIG_E1355_REG_BASE a8000000
hex ' Framebuffer Base Address' CONFIG_E1355_FB_BASE a8200000
next reply other threads:[~2001-08-14 3:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-14 2:47 Rich Baum [this message]
2001-08-14 7:07 ` [PATCH] fix 2.4.8 compile errors Russell King
2001-08-14 8:51 ` Nils Faerber
2001-08-14 9:02 ` Keith Owens
2001-08-14 10:32 ` Rich Baum
2001-08-14 10:44 ` Russell King
2001-08-14 10:49 ` [PATCH] fixed " Rich Baum
2001-08-14 10:49 ` [PATCH] " Andrzej Krzysztofowicz
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=100C620A6B75@coral.indstate.edu \
--to=richbaum@acm.org \
--cc=alan@lxorguk.ukuu.org.uk \
--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