summaryrefslogtreecommitdiff
path: root/board/pm854/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-26 23:51:49 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:51 -0500
commitd53bd3e17bd4f460257c19255569ea6dcfaae817 (patch)
tree5b41b31f405336ce5d32dfb37d8bf241acc7e47c /board/pm854/Makefile
parent33b9079ba20926f14238fff863b68a98e938948e (diff)
FSL DDR: Convert PM854 to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/pm854/Makefile')
-rw-r--r--board/pm854/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/board/pm854/Makefile b/board/pm854/Makefile
index 2d71cbc51..52a756c8e 100644
--- a/board/pm854/Makefile
+++ b/board/pm854/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)