Commit 04a9e1180ac76a7bacc15a6fcd95ad839d65bddb introduced the mpc83xx_spi.c
driver which gets compiled for everyone, but this obviously only builds for
the ppc port.  I haven't been following the latest build updates, but the
attached patch is one way to fix things.

Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]
---
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 0b7a2df..1fdfb38 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -25,7 +25,9 @@ include $(TOPDIR)/config.mk
 
 LIB    := $(obj)libspi.a
 
-COBJS-y += mpc8xxx_spi.o
+COBJS-ppc += mpc8xxx_spi.o
+
+COBJS-y += $(COBJS-$(ARCH))
 
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to