summaryrefslogtreecommitdiff
path: root/board/freescale/mx53loco/Makefile
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2012-11-10 02:32:46 +0000
committerAnatolij Gustschin <agust@denx.de>2012-11-14 14:05:51 +0100
commit30ea4be921634de193236355f76e7870f1a3cb89 (patch)
tree6692d3ffa0ecf9e3318850d547bbad502c5f8df4 /board/freescale/mx53loco/Makefile
parent5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca (diff)
mx53loco: Fix build error when CONFIG_VIDEO is disabled
The inclusion of LCD patch into mx53loco breaks the build when CONFIG_VIDEO is disabled. Fix this by splitting the video related stuff to a new file. Also rename the function lcd_iomux to setup_iomux_lcd to make the namings aligned with the other iomux functions. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
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))