summaryrefslogtreecommitdiff
path: root/board/sbc8548/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-26 23:15:28 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-08-27 11:43:51 -0500
commit33b9079ba20926f14238fff863b68a98e938948e (patch)
treef9d7bed6f7f2710a18647a57e909f83e1796a509 /board/sbc8548/Makefile
parenta947e4c7eb15cea1d9fb633955c516aab5ad35dd (diff)
downloadu-boot-imx-33b9079ba20926f14238fff863b68a98e938948e.zip
u-boot-imx-33b9079ba20926f14238fff863b68a98e938948e.tar.gz
u-boot-imx-33b9079ba20926f14238fff863b68a98e938948e.tar.bz2
FSL DDR: Convert sbc8548 to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sbc8548/Makefile')
-rw-r--r--board/sbc8548/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/board/sbc8548/Makefile b/board/sbc8548/Makefile
index bb96d95..9919a6e 100644
--- a/board/sbc8548/Makefile
+++ b/board/sbc8548/Makefile
@@ -28,10 +28,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_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)