[U-Boot] make clean problem

Graeme Russ graeme.russ at gmail.com
Wed Oct 8 23:16:18 CEST 2008


What about if bash hasn't been installed for whatever reason?

On Thu, Oct 9, 2008 at 8:14 AM, Graeme Russ <graeme.russ at gmail.com> wrote:
> What about if bash hasn't been installed for whatever reason?
>
> On Thu, Oct 9, 2008 at 6:13 AM, Wolfgang Denk <wd at denx.de> wrote:
>> Dear Jerry Van Baren,
>>
>> In message <48ECF72E.20704 at ge.com> you wrote:
>>>
>>> >> @rm -f $(obj)tools/env/{fw_printenv,fw_setenv}
>> ...
>>> Having said that, and with the disclaimer that I'm not sure it is an
>>> improvement, I believe the following line is a "make-ism" equivalent to
>>> the bash-ism (untested):
>>>
>>> @rm -f $(foreach file, fw_printenv fw_setenv, $(obj)tools/env/$(file))
>>
>> Well, I certainly think it ain't no improvment at all. Thebash code
>> may be cryptic, but in a way that is readable to a prgrammer.
>>
>> The make notation makes me believe I had too much beer (and I haven't
>> even started yet).
>>
>> 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 C-shell doesn't parse. It adhoculates.
>>    - Casper.Dik at Holland.Sun.COM in <3ol96k$b2j at engnews2.Eng.Sun.COM>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>


More information about the U-Boot mailing list