summaryrefslogtreecommitdiff
path: root/board/digsy_mtc/Makefile
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-05-29 21:16:20 +0000
committerWolfgang Denk <wd@denx.de>2011-07-27 23:26:20 +0200
commita59996e3f777b1059455f0e106c9271e4abc403a (patch)
treef1fe235cd24d1a214cd1b7fe855a056b309c5570 /board/digsy_mtc/Makefile
parentee8fa20f54c9705218a5c21e7db7d4ba1c124b98 (diff)
downloadu-boot-imx-a59996e3f777b1059455f0e106c9271e4abc403a.zip
u-boot-imx-a59996e3f777b1059455f0e106c9271e4abc403a.tar.gz
u-boot-imx-a59996e3f777b1059455f0e106c9271e4abc403a.tar.bz2
mpc5200: digsy_mtc: add support for graphic extension board
Add detection and initialisation for graphic extension board and support splash screen when booting. Enable "bmp" command in the board configuration and provide "disp" command to be able to switch the display on/off. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'board/digsy_mtc/Makefile')
-rw-r--r--board/digsy_mtc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/digsy_mtc/Makefile b/board/digsy_mtc/Makefile
index a40076c..19f5b3a 100644
--- a/board/digsy_mtc/Makefile
+++ b/board/digsy_mtc/Makefile
@@ -7,10 +7,11 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := $(BOARD).o cmd_mtc.o
+COBJS-y := $(BOARD).o cmd_mtc.o
+COBJS-$(CONFIG_VIDEO) += cmd_disp.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)