[U-Boot] [PATCH] Fix variable flavor in examples/standalone/Makefile

Che-liang Chiou clchiou at chromium.org
Thu Apr 14 05:36:16 CEST 2011


Dear Wolfgang Denk,

I checked out the master of the git repo of that time (Feb 22?).

Regards,
Che-Liang

On Thu, Apr 14, 2011 at 4:45 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Che-liang Chiou,
>
> In message <AANLkTikEyV2+sNNMgjw=4ytLXgN2d7in6usdwE3Eedz2 at mail.gmail.com> you wrote:
>>
>> On Tue, Feb 22, 2011 at 3:33 PM, Wolfgang Denk <wd at denx.de> wrote:
>> > In message <AANLkTimw1vLC8GM_XsdGqGKLUYyzKQoFYFb8-bJVbGBE at mail.gmail.com>>  you wrote:
>> >> The bug is caused by using recursively expanded flavor for BIN and SREC.
>> > You wrote "The bug". How does this bug manifest in U-Boot? For which
>> > configuration do you see issues?
>>
>> The bug I refer to is that hello_world.bin and hello_world.srec are not built.
>>
>> I can reproduce this bug in versatile_config, but I believe it is generally
>> applicable to other configures as well since it is caused by Makefile
>> syntax.
>>
>> Here is how I found the bug:
>> ------------------------------------------------------------
>> $ make O=/tmp/build distclean
>> $ make O=/tmp/build versatile_config
>> $ make O=/tmp/build -j8
>> $ ls /tmp/build/examples/standalone/
>> hello_world  hello_world.o  libstubs.o  smc91111_eeprom
>> smc91111_eeprom.o  stubs.o
>> ------------------------------------------------------------
>> Notice that hello_world.bin and hello_world.srec are not found.
>
> Hm... which U-Boot version are you referring to?  Because for some
> time "versatile" is broken and does not build at all...
>
> 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
> One possible reason that things aren't going  according  to  plan  is
> that there never was a plan in the first place.
>


More information about the U-Boot mailing list