summaryrefslogtreecommitdiff
path: root/board/freescale/mx51evk/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-11-19 09:28:04 -0700
committerTom Rini <trini@ti.com>2012-11-19 09:28:04 -0700
commit178d0cc1a4c73c3341afbeb2a93b172de8c96bd1 (patch)
treef4ccb38889b6ae9d2092b8ce43b8f6d422c900cb /board/freescale/mx51evk/Makefile
parentbb367b95f9204115bd6eac82e839b5590e6da4eb (diff)
parent30ea4be921634de193236355f76e7870f1a3cb89 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-video
Diffstat (limited to 'board/freescale/mx51evk/Makefile')
-rw-r--r--board/freescale/mx51evk/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/mx51evk/Makefile b/board/freescale/mx51evk/Makefile
index 224eaa3c73..2310fe137d 100644
--- a/board/freescale/mx51evk/Makefile
+++ b/board/freescale/mx51evk/Makefile
@@ -23,8 +23,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := mx51evk.o
+COBJS-y += mx51evk.o
+COBJS-$(CONFIG_VIDEO) += mx51evk_video.o
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))