[U-Boot] [PATCH] Fix build failure in examples/standalone
Wolfgang Denk
wd at denx.de
Sun Nov 8 23:46:16 CET 2009
Dear "Premi, Sanjeev",
In message <B85A65D85D7EB246BE421B3FB0FBB59301DE31FB63 at dbde02.ent.ti.com> 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
More information about the U-Boot
mailing list