diff options
author | Vikram Narayanan <vikram186@gmail.com> | 2012-11-10 02:28:52 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-11-14 14:05:35 +0100 |
commit | 5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca (patch) | |
tree | cb032edb25c7c35d250572213e0b7d974c2dc7b2 /board/freescale/mx51evk/Makefile | |
parent | 4a1921eb04fa83acbab60fc0219e48e85dbc2f74 (diff) | |
download | u-boot-imx-5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca.zip u-boot-imx-5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca.tar.gz u-boot-imx-5d71bd210ff3ab5b510071cae7ed1ea51ba9e0ca.tar.bz2 |
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/Makefile | 4 |
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)) |