[U-Boot] fw_printenv cross compilation issue

Elie De Brauwer eliedebrauwer at gmail.com
Mon Mar 14 14:15:25 CET 2011


Hi List,

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.

gr
E.

-- 
Elie De Brauwer



More information about the U-Boot mailing list