Re: [U-Boot] make clean problem

What about if bash hasn't been installed for whatever reason?
On Thu, Oct 9, 2008 at 8:14 AM, Graeme Russ graeme.russ@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@denx.de wrote:
Dear Jerry Van Baren,
In message 48ECF72E.20704@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@denx.de The C-shell doesn't parse. It adhoculates.
- Casper.Dik@Holland.Sun.COM in 3ol96k$b2j@engnews2.Eng.Sun.COM
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Dear "Graeme Russ",
In message d66caabb0810081416u4725db4fne091a8de25d7de2c@mail.gmail.com you wrote:
What about if bash hasn't been installed for whatever reason?
Then you have the same like when any other of the required tools (make, gcc, ...) is not installed: you have to install it.
Seriously: I doubt that you will find any normal Linux distribution which does not install bash by default.
Best regards,
Wolfgang Denk
participants (2)
-
Graeme Russ
-
Wolfgang Denk