summaryrefslogtreecommitdiff
path: root/board/ads5121/Makefile
diff options
context:
space:
mode:
authorJohn Rigby <jrigby@freescale.com>2008-02-26 09:38:14 -0700
committerWolfgang Denk <wd@denx.de>2008-03-02 21:44:59 +0100
commit5f91db7f582ca17b1f19f10189c025696f333d2e (patch)
tree2a5bbb89342615e82ee47312d3e00641632a26ed /board/ads5121/Makefile
parent44b4dbed4133f657705b7c5193209da9978243a7 (diff)
downloadu-boot-imx-5f91db7f582ca17b1f19f10189c025696f333d2e.zip
u-boot-imx-5f91db7f582ca17b1f19f10189c025696f333d2e.tar.gz
u-boot-imx-5f91db7f582ca17b1f19f10189c025696f333d2e.tar.bz2
MPC5121e ADS PCI support take 3
Adds PCI support for MPC5121 Tested with drivers/net/rtl8139.c Support is conditional since PCI on old silicon does not work. ads5121_PCI_config turns on PCI In this version, condition compilation of PCI code has been moved from ifdef in board/ads5121/pci.c to board/ads5121/Makefile as suggested by Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'board/ads5121/Makefile')
-rw-r--r--board/ads5121/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ads5121/Makefile b/board/ads5121/Makefile
index cd8148c..b93bee1 100644
--- a/board/ads5121/Makefile
+++ b/board/ads5121/Makefile
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o
+COBJS-y := $(BOARD).o
+COBJS-$(CONFIG_PCI) += pci.o
+COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))