summaryrefslogtreecommitdiffstats
path: root/board/freescale/mpc8641hpcn/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-26 15:01:35 -0500
committerWolfgang Denk <wd@denx.de>2008-08-27 02:06:02 +0200
commit6a8e5692933e8e6d6e5ba7e594f49dd6d4c3a263 (patch)
tree1b3c53fc74521c22fa9f3fa6253ce240c4cf9d39 /board/freescale/mpc8641hpcn/Makefile
parent46ff4f1100ea64a01d21cc008ce85ac15eb1821f (diff)
downloadu-boot-6a8e5692933e8e6d6e5ba7e594f49dd6d4c3a263.tar.gz
u-boot-6a8e5692933e8e6d6e5ba7e594f49dd6d4c3a263.tar.xz
u-boot-6a8e5692933e8e6d6e5ba7e594f49dd6d4c3a263.zip
FSL DDR: Convert MPC8641HPCN to new DDR code.
Signed-off-by: Jon Loeliger <jdl@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/mpc8641hpcn/Makefile')
-rw-r--r--board/freescale/mpc8641hpcn/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/board/freescale/mpc8641hpcn/Makefile b/board/freescale/mpc8641hpcn/Makefile
index c096e1552e..c78b0a8280 100644
--- a/board/freescale/mpc8641hpcn/Makefile
+++ b/board/freescale/mpc8641hpcn/Makefile
@@ -25,10 +25,12 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o law.o
+COBJS-y += $(BOARD).o
+COBJS-y += law.o
+COBJS-$(CONFIG_FSL_DDR2) += 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)