From: Wolfgang Denk Date: Sun, 08 Nov 2009 23:27:25 +0100 Subject: [U-Boot] [PATCH] Fix build failure in examples/standalone In-Reply-To: <200911061122.16814.vapier@gentoo.org> References: <1257499011-28064-1-git-send-email-premi@ti.com> <200911061122.16814.vapier@gentoo.org> Message-ID: <20091108222725.5739D3F6E8@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 Mike Frysinger, In message <200911061122.16814.vapier@gentoo.org> you wrote: > > > Just after pressing this "ENTER", I tried the following: > > [Moved $(ELF-y) to end of the assignment and kill trailing spaces] > > > > -ELF := $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU)) > > +ELF := $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU)) $(ELF-y) > > > > And it worked! The message for COBJS shows: > > > > Makefile:47: *** *** COBJS evaluates to [ hello_world.o > > smc911x_eeprom.o]. Stop. > > > > So, maybe "make v3.80" has problems with trailing spaces. > > > > For the fix, I can resubmit with the change shown above OR we could > > keep the original. Let me know your thoughts. > > i kind of prefer this method. if we go with the first method, it needs to> > have a comment there explaining why the strip exists: > # we need the strip to workaround a bug in make-3.80 and whitespace/:= We definitely need an explanationin any case - otherwise someone might come up with a patch to change the order again (say, to come up with a common form) and it breaks again. 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 "I believe the use of noise to make music will increase until we reach a music produced through the aid of electrical instruments which will make available for musical purposes any and all sounds that can be heard." - composer John Cage, 1937