From: Wolfgang Denk Date: Sun, 08 Nov 2009 23:46:16 +0100 Subject: [U-Boot] [PATCH] Fix build failure in examples/standalone In-Reply-To: References: <1257499011-28064-1-git-send-email-premi@ti.com> <20091106124520.793703F6C1@gemini.denx.de> Message-ID: <20091108224616.2EA223F6E8@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 "Premi, Sanjeev", In message you wrote: > > I was surprised too. It is the first time ever I have seen this problem > with any Makefile over years. > > To debug I tried this: ... > Makefile:47: *** *** COBJS evaluates to [hello_world.o smc911x_eeprom.o .o]. Stop. > make[1]: Leaving directory `/home/sanjeev/u-boot/examples/standalone' > make: *** [examples/standalone] Error 2 > > Notice the "empty" .o in the output. This prompted me to use $(strip ...) Indeed. I do not doubt that your modification fixes the issue. > premi # make --version > GNU Make 3.80 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. It seems very much to me as if this was a bug in GNU Make 3.80, then. May I please ask you to modify your poatch such that both the code and the commit message contain a comment that the added "strip" call is a workaround for a white-space handling problem in some versions of GNU make, especially version 3.80? Thanks. 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 A conservative is a man who believes that nothing should be done for the first time. - Alfred E. Wiggam