summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorEnder.Dai <ender.dai@gmail.com>2010-04-22 15:24:25 +0800
committerWolfgang Denk <wd@denx.de>2010-05-06 00:41:08 +0200
commit767fdc4af684770f5e97a6c5e19a8ac2616b8329 (patch)
tree42f20fbe819ba7e858272e7a80d01d838e515603 /drivers/video
parent54fa2c5b51c564cce716942d26492437457980a4 (diff)
downloadu-boot-imx-767fdc4af684770f5e97a6c5e19a8ac2616b8329.zip
u-boot-imx-767fdc4af684770f5e97a6c5e19a8ac2616b8329.tar.gz
u-boot-imx-767fdc4af684770f5e97a6c5e19a8ac2616b8329.tar.bz2
drivers/*/Makefile: fix conditional compile rule.
Fix conditional compile rule for twl4030.c and videomodes.c. Signed-off-by: Ender.Dai <ender.dai@gmail.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index a5e339a..7d84fc7 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -25,20 +25,19 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libvideo.a
-COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o
+COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o
COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o
COBJS-$(CONFIG_CFB_CONSOLE) += cfb_console.o
COBJS-$(CONFIG_S6E63D6) += s6e63d6.o
COBJS-$(CONFIG_VIDEO_AMBA) += amba.o
-COBJS-$(CONFIG_VIDEO_CT69000) += ct69000.o
-COBJS-$(CONFIG_VIDEO_MB862xx) += mb862xx.o
+COBJS-$(CONFIG_VIDEO_CT69000) += ct69000.o videomodes.o
+COBJS-$(CONFIG_VIDEO_MB862xx) += mb862xx.o videomodes.o
COBJS-$(CONFIG_VIDEO_MX3) += mx3fb.o
COBJS-$(CONFIG_VIDEO_SED13806) += sed13806.o
COBJS-$(CONFIG_SED156X) += sed156x.o
COBJS-$(CONFIG_VIDEO_SM501) += sm501.o
-COBJS-$(CONFIG_VIDEO_SMI_LYNXEM) += smiLynxEM.o
+COBJS-$(CONFIG_VIDEO_SMI_LYNXEM) += smiLynxEM.o videomodes.o
COBJS-$(CONFIG_VIDEO_VCXK) += bus_vcxk.o
-COBJS-y += videomodes.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)