Dear Elie De Brauwer, In message <4d7e14ed.1050...@gmail.com> you wrote: > > I tried crosscompiling fw_printenv lately (on 2011.03 RC1) but I kept > ending with a natively compiled version of fw_printenv. When looking at > the tools/env/Makefile I saw it was using $(HOSTCC) and friends, basicly > ever since: > http://git.denx.de/?p=u-boot.git;a=commitdiff;h=abd315a1357ab05e82f0d61ebad666bc0d5378c3 > > Is there a rationale for this ? Just reverting this change to > http://git.denx.de/?p=u-boot.git;a=blob;f=tools/env/Makefile;hb=78acc472d9719316f22e002a009a998d9ceec29d > > Makes building a crosscompiled fw_printenv possible again.
There is a rationale for that, and Mike Frisinger explained it when this patch was being discussed, and later again. Please see the archives. I have to admit that I share your confusion, but even rational is relative ;-) 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: w...@denx.de A stone was placed at a ford in a river with the inscription: "When this stone is covered it is dangerous to ford here." _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot