diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-27 06:03:42 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-08-27 16:43:52 (GMT) |
commit | c360d9b970fbb9c13744c355879671165bbb9b9e (patch) | |
tree | 8b421f634303b379282bf63e99741d6d1fa5e101 /board/stxgp3/Makefile | |
parent | 8e55313b7ae12352a343f9b9962e662dbd897187 (diff) | |
download | u-boot-fsl-qoriq-c360d9b970fbb9c13744c355879671165bbb9b9e.tar.xz |
FSL DDR: Convert STXGP3 to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/stxgp3/Makefile')
-rw-r--r-- | board/stxgp3/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/board/stxgp3/Makefile b/board/stxgp3/Makefile index 325d6d5..5a68f11 100644 --- a/board/stxgp3/Makefile +++ b/board/stxgp3/Makefile @@ -25,10 +25,14 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS := $(BOARD).o flash.o law.o tlb.o - -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS)) +COBJS-y += $(BOARD).o +COBJS-y += law.o +COBJS-y += tlb.o +COBJS-y += flash.o +COBJS-$(CONFIG_FSL_DDR1) += ddr.o + +SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) $(SOBJS) |