summaryrefslogtreecommitdiff
path: root/board/stxssa/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-27 01:04:07 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:53 -0500
commit0e7927db138976469e7257e29c1338050a50fcd9 (patch)
tree9480e5cc42c36f14fce058e743b36a40ebc66324 /board/stxssa/Makefile
parentc360d9b970fbb9c13744c355879671165bbb9b9e (diff)
downloadu-boot-imx-0e7927db138976469e7257e29c1338050a50fcd9.zip
u-boot-imx-0e7927db138976469e7257e29c1338050a50fcd9.tar.gz
u-boot-imx-0e7927db138976469e7257e29c1338050a50fcd9.tar.bz2
FSL DDR: Convert STXSSA to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/stxssa/Makefile')
-rw-r--r--board/stxssa/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/board/stxssa/Makefile b/board/stxssa/Makefile
index e29cf95..9ab41ec 100644
--- a/board/stxssa/Makefile
+++ b/board/stxssa/Makefile
@@ -25,10 +25,13 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o law.o tlb.o
+COBJS-y += $(BOARD).o
+COBJS-y += law.o
+COBJS-y += tlb.o
+COBJS-$(CONFIG_FSL_DDR1) += ddr.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)