summaryrefslogtreecommitdiff
path: root/drivers/video/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-05 09:19:08 +0200
committerWolfgang Denk <wd@denx.de>2011-09-05 09:19:08 +0200
commit712f4d1f34a0660f7562b84f272cbc8137da3fa4 (patch)
treef953f3d9e1f9dbadeb0cc8b2b321d38037c72d38 /drivers/video/Makefile
parent9d75de095180211190f0df2e61746807e360ec13 (diff)
downloadu-boot-imx-712f4d1f34a0660f7562b84f272cbc8137da3fa4.zip
u-boot-imx-712f4d1f34a0660f7562b84f272cbc8137da3fa4.tar.gz
u-boot-imx-712f4d1f34a0660f7562b84f272cbc8137da3fa4.tar.bz2
drivers/video/Makefile: include object files only once
Use "$(sort $(COBJS-y))" to prevent multiple inclusion of the same object files. Also sort driver list. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/video/Makefile')
-rw-r--r--drivers/video/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index db8a454..3790f91 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -30,20 +30,20 @@ COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o
COBJS-$(CONFIG_CFB_CONSOLE) += cfb_console.o
COBJS-$(CONFIG_FSL_DIU_FB) += fsl_diu_fb.o videomodes.o
COBJS-$(CONFIG_S6E63D6) += s6e63d6.o
+COBJS-$(CONFIG_SED156X) += sed156x.o
COBJS-$(CONFIG_VIDEO_AMBA) += amba.o
COBJS-$(CONFIG_VIDEO_CT69000) += ct69000.o videomodes.o
COBJS-$(CONFIG_VIDEO_MB862xx) += mb862xx.o videomodes.o
COBJS-$(CONFIG_VIDEO_MB86R0xGDC) += mb86r0xgdc.o videomodes.o
COBJS-$(CONFIG_VIDEO_MX3) += mx3fb.o
COBJS-$(CONFIG_VIDEO_MX5) += mxc_ipuv3_fb.o ipu_common.o ipu_disp.o
+COBJS-$(CONFIG_VIDEO_OMAP3) += omap3_dss.o videomodes.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 videomodes.o
COBJS-$(CONFIG_VIDEO_VCXK) += bus_vcxk.o
-COBJS-$(CONFIG_VIDEO_OMAP3) += omap3_dss.o videomodes.o
-COBJS := $(COBJS-y)
+COBJS := $(sort $(COBJS-y))
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))