projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mx51evk: Fix build error when CONFIG_VIDEO is disabled
[platform/kernel/u-boot.git]
/
board
/
freescale
/
mx51evk
/
Makefile
diff --git
a/board/freescale/mx51evk/Makefile
b/board/freescale/mx51evk/Makefile
index
224eaa3
..
2310fe1
100644
(file)
--- 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))