tree eb0bfe978b6fbce6e72a14981319fb5e52929816
parent b692fcecfc80410690da01f006ae44e491bab8cf
author [EMAIL PROTECTED] <[EMAIL PROTECTED]> Sat, 06 Aug 2005 01:38:19 -0500
committer Marcelo Tosatti <[EMAIL PROTECTED]> Sat, 06 Aug 2005 21:17:06 -0300

[PATCH] Fix Alpha AXP Cabriolet build

This humble acolyte runs a couple of ancient Alpha AXP 21064 boxes (using
Debian Sarge), and recently when upgrading the kernel from 2.4.18 to
2.4.31 (compiling vanilla sources off of www.kernel.org) I found that the
build would fail when linking the kernel binary. The error was an
unresolved reference to:

     ns87312_enable_ide()

The Alpha variant used was "Cabriolet." The Cabriolet's are rather old,
circa 1995 or '96, motherboards based around the 21064, so I doubt that
there are many of them still running, but I like mine just the same ;-)

Anyhow, a simple one line fix to the arch/alpha/kernel/Makefile solves
this problem (patch file is attached). I've also attached the config file
I used for the build, as well as the boot messages from the kernel built
after the patch was applied.

 arch/alpha/kernel/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/alpha/kernel/Makefile b/arch/alpha/kernel/Makefile
--- a/arch/alpha/kernel/Makefile
+++ b/arch/alpha/kernel/Makefile
@@ -76,7 +76,7 @@ ifneq ($(CONFIG_ALPHA_ALCOR)$(CONFIG_ALP
 obj-y    += sys_alcor.o
 endif
 ifneq 
($(CONFIG_ALPHA_CABRIOLET)$(CONFIG_ALPHA_EB164)$(CONFIG_ALPHA_EB66P)$(CONFIG_ALPHA_LX164)$(CONFIG_ALPHA_PC164),)
-obj-y    += sys_cabriolet.o
+obj-y    += sys_cabriolet.o ns87312.o
 endif
 
 obj-$(CONFIG_ALPHA_DP264) += sys_dp264.o
-
To unsubscribe from this list: send the line "unsubscribe git-commits-24" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to