On Fri, 9 May 2008, York Sun wrote: > > Signed-off-by: York Sun <[EMAIL PROTECTED]> > --- > board/ads5121/Makefile | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/board/ads5121/Makefile b/board/ads5121/Makefile > index 8ace8a1..9b675f7 100644 > --- a/board/ads5121/Makefile > +++ b/board/ads5121/Makefile > @@ -23,9 +23,14 @@ > > include $(TOPDIR)/config.mk > > +$(shell mkdir -p $(OBJTREE)/board/freescale/common) > + > LIB = $(obj)lib$(BOARD).a > > -COBJS-y := $(BOARD).o ads5121_diu.o ../freescale/common/fsl_diu_fb.o > ../freescale/common/fsl_logo_bmp.o > +COBJS-y := $(BOARD).o > +COBJS-y += ads5121_diu.o > +COBJS-y += ../freescale/common/fsl_diu_fb.o > +COBJS-y += ../freescale/common/fsl_logo_bmp.o > COBJS-$(CONFIG_PCI) += pci.o > > COBJS := $(COBJS-y)
Why don't you just define CONFIG_FSL_DIU_FB in the ads5121 config.h? Then you don't have to build the common objects in this Makefile as board/freescale/common/Makefile will handle them. - k ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users