summaryrefslogtreecommitdiff
path: root/board/stxgp3/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-27 01:03:42 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:52 -0500
commitc360d9b970fbb9c13744c355879671165bbb9b9e (patch)
tree8b421f634303b379282bf63e99741d6d1fa5e101 /board/stxgp3/Makefile
parent8e55313b7ae12352a343f9b9962e662dbd897187 (diff)
downloadu-boot-imx-c360d9b970fbb9c13744c355879671165bbb9b9e.zip
u-boot-imx-c360d9b970fbb9c13744c355879671165bbb9b9e.tar.gz
u-boot-imx-c360d9b970fbb9c13744c355879671165bbb9b9e.tar.bz2
FSL DDR: Convert STXGP3 to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/stxgp3/Makefile')
-rw-r--r--board/stxgp3/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/board/stxgp3/Makefile b/board/stxgp3/Makefile
index 325d6d5..5a68f11 100644
--- a/board/stxgp3/Makefile
+++ b/board/stxgp3/Makefile
@@ -25,10 +25,14 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o flash.o law.o tlb.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+COBJS-y += $(BOARD).o
+COBJS-y += law.o
+COBJS-y += tlb.o
+COBJS-y += flash.o
+COBJS-$(CONFIG_FSL_DDR1) += ddr.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)