summaryrefslogtreecommitdiff
path: root/board/freescale/mx53loco/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx53loco/Makefile')
-rw-r--r--board/freescale/mx53loco/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/mx53loco/Makefile b/board/freescale/mx53loco/Makefile
index 8bc69a92c1..3be17c5917 100644
--- a/board/freescale/mx53loco/Makefile
+++ b/board/freescale/mx53loco/Makefile
@@ -22,8 +22,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := mx53loco.o
+COBJS-y += mx53loco.o
+COBJS-$(CONFIG_VIDEO) += mx53loco_video.o
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))