[U-Boot] make clean problem

Wolfgang Denk wd at denx.de
Wed Oct 8 21:13:37 CEST 2008


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>


More information about the U-Boot mailing list