summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8540ads/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-06-06 13:12:18 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:48 -0500
commit9617c8d49a21703eaf13a4033ab1a56eecc033cc (patch)
tree82d74807cf979a8848774b8593c4a7f1d2906672 /board/freescale/mpc8540ads/Makefile
parent2a6c2d7ab2a66660f40a6cd3de2eb29ee29d9693 (diff)
downloadu-boot-imx-9617c8d49a21703eaf13a4033ab1a56eecc033cc.zip
u-boot-imx-9617c8d49a21703eaf13a4033ab1a56eecc033cc.tar.gz
u-boot-imx-9617c8d49a21703eaf13a4033ab1a56eecc033cc.tar.bz2
FSL DDR: Convert MPC8540ADS to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8540ads/Makefile')
-rw-r--r--board/freescale/mpc8540ads/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/board/freescale/mpc8540ads/Makefile b/board/freescale/mpc8540ads/Makefile
index 2d71cbc..4c6da4d 100644
--- a/board/freescale/mpc8540ads/Makefile
+++ b/board/freescale/mpc8540ads/Makefile
@@ -25,11 +25,14 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o law.o tlb.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
-SOBJS := $(addprefix $(obj),$(SOBJS))
+COBJS-y += $(BOARD).o
+COBJS-y += ddr.o
+COBJS-y += law.o
+COBJS-y += tlb.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
+SOBJS := $(addprefix $(obj),$(SOBJS-y))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)