summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8360erdk/Makefile
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-03-24 20:46:51 +0300
committerKim Phillips <kim.phillips@freescale.com>2008-03-25 19:16:46 -0500
commit7ad959490962e6842648d87d4bd795ea6cdcce67 (patch)
tree7d695e1416fd0b67402b59da9b01be35b5865cbf /board/freescale/mpc8360erdk/Makefile
parent9a3e832aeb491861d029991241572ebdf4b5b61b (diff)
downloadu-boot-imx-7ad959490962e6842648d87d4bd795ea6cdcce67.zip
u-boot-imx-7ad959490962e6842648d87d4bd795ea6cdcce67.tar.gz
u-boot-imx-7ad959490962e6842648d87d4bd795ea6cdcce67.tar.bz2
mpc83xx: MPC8360E-RDK: add support for NAND
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Diffstat (limited to 'board/freescale/mpc8360erdk/Makefile')
-rw-r--r--board/freescale/mpc8360erdk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/mpc8360erdk/Makefile b/board/freescale/mpc8360erdk/Makefile
index acc9544..53e0c48 100644
--- a/board/freescale/mpc8360erdk/Makefile
+++ b/board/freescale/mpc8360erdk/Makefile
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o
+COBJS-y += $(BOARD).o
+COBJS-$(CONFIG_CMD_NAND) += nand.o
+COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))