summaryrefslogtreecommitdiffstats
path: root/board/freescale/mx51evk/Makefile
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2012-11-10 02:28:52 +0000
committerAnatolij Gustschin <agust@denx.de>2012-11-14 14:05:35 +0100
commit5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca (patch)
treecb032edb25c7c35d250572213e0b7d974c2dc7b2 /board/freescale/mx51evk/Makefile
parent4a1921eb04fa83acbab60fc0219e48e85dbc2f74 (diff)
downloadblackbird-obmc-uboot-5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca.tar.gz
blackbird-obmc-uboot-5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca.zip
mx51evk: Fix build error when CONFIG_VIDEO is disabled
The inclusion of LCD patch into mx51evk 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/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))
OpenPOWER on IntegriCloud