summaryrefslogtreecommitdiff
path: root/board/freescale/mx51evk/Makefile
diff options
context:
space:
mode:
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 224eaa3..2310fe1 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))