From: Wolfgang Denk Date: Fri, 09 Sep 2011 09:36:38 +0200 Subject: [U-Boot] [PATCH] ARM: hawkboard: fix compilation of nand_spl In-Reply-To: <1315552622-27566-1-git-send-email-sbabic@denx.de> References: <1315552622-27566-1-git-send-email-sbabic@denx.de> Message-ID: <20110909073638.2275F1408769@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefano Babic, In message <1315552622-27566-1-git-send-email-sbabic@denx.de> you wrote: > get_ram_size() is called, but memsize.c is not compiled. > > Signed-off-by: Stefano Babic > --- > nand_spl/board/davinci/da8xxevm/Makefile | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/nand_spl/board/davinci/da8xxevm/Makefile b/nand_spl/board/davinci/da8xxevm/Makefile > index b3f4bd6..65ed055 100644 > --- a/nand_spl/board/davinci/da8xxevm/Makefile > +++ b/nand_spl/board/davinci/da8xxevm/Makefile > @@ -38,7 +38,7 @@ CFLAGS += -DCONFIG_SPL_BUILD -DCONFIG_NAND_SPL > > SOBJS = start.o _udivsi3.o _divsi3.o > COBJS = cpu.o davinci_nand.o ns16550.o div0.o davinci_pinmux.o psc.o \ > - misc.o hawkboard_nand_spl.o nand_boot.o > + misc.o hawkboard_nand_spl.o nand_boot.o memsize.o Please split these litst (one object name per line), and sort them. > +# from comon directory > +$(obj)memsize.c: > + @rm -f $@ > + ln -s $(TOPDIR)/common/memsize.c $@ Can we not rather compile the file in the common directory instead? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The heart is not a logical organ. -- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4