From: Wolfgang Denk Date: Mon, 5 Sep 2011 07:19:08 +0000 (+0200) Subject: drivers/video/Makefile: include object files only once X-Git-Tag: v2011.09-rc1~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=712f4d1f34a0660f7562b84f272cbc8137da3fa4;p=oweals%2Fu-boot.git 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 --- diff --git a/drivers/video/Makefile b/drivers/video/Makefile index db8a454075..3790f91e72 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))