From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 5 Apr 2013 15:40:53 -0500 Subject: [U-Boot] [PATCH 2/5][v2] powerpc/mpc85xx: new SPL support for IFC NAND In-Reply-To: <1363936085-17141-1-git-send-email-prabhakar@freescale.com> (from prabhakar@freescale.com on Fri Mar 22 02:08:05 2013) Message-ID: <1365194453.17535.10@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/22/2013 02:08:05 AM, Prabhakar Kushwaha wrote: > diff --git a/board/freescale/common/Makefile > b/board/freescale/common/Makefile > index 75725b4..a4d521c 100644 > --- a/board/freescale/common/Makefile > +++ b/board/freescale/common/Makefile > @@ -29,6 +29,15 @@ endif > > LIB = $(obj)libfreescale.o > > +MINIMAL= > + > +ifdef CONFIG_SPL_BUILD > +ifdef CONFIG_SPL_INIT_MINIMAL > +MINIMAL=y > +endif > +endif > + > +ifndef MINIMAL > COBJS-$(CONFIG_FSL_CADMUS) += cadmus.o > COBJS-$(CONFIG_FSL_VIA) += cds_via.o > COBJS-$(CONFIG_FMAN_ENET) += fman.o > @@ -62,6 +71,7 @@ SUBLIB-$(CONFIG_P3041DS) += > p_corenet/libp_corenet.o > SUBLIB-$(CONFIG_P4080DS) += p_corenet/libp_corenet.o > SUBLIB-$(CONFIG_P5020DS) += p_corenet/libp_corenet.o > SUBLIB-$(CONFIG_P5040DS) += p_corenet/libp_corenet.o > +endif > > SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) > OBJS := $(addprefix $(obj),$(COBJS-y)) If this is needed to avoid pulling in any files from this directory, why did p1_p2_rdb_pc not need this? Is there a particular file that is failing to build or failing to get optimized away? -Scott