[U-Boot] [PATCH 4/4] tools/env: use host build flags

Mike Frysinger vapier at gentoo.org
Wed Nov 10 23:55:53 CET 2010


On Wednesday, November 10, 2010 17:29:52 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > so do what i said -- set the HOSTCC to the host you want the tools to run
> > on. this will work for *all* tools instead of arbitrarily picking some
> > to use HOSTCC while picking others to use CROSS.
> 
> Why are you so ignorant?

cut the crap

> There are tools that are supposed to run on the build host (like
> mkimage or gen_eth_addr), and  there are tools that are supposed to
> run on the target (like fw_*).

you're assuming too much here as well.  i need to support cross-compiling all 
the tools for when the build==host==target and build!=host==target and 
build!=host!=target.  this is the stuff i hit every day with package managers 
and distro setups.

> > > Seems this was not a fix, but introduced an error.  Dp you agree to
> > > revert that commit?
> > 
> > of course i disagree.  this change is a fix in my mind.
> 
> Please reconsider.  This has been working for nearly a decade, and now
> it's broken.  I want to see this fixed.  If needed, by reverting the
> commit that broke it.

it's been working for your specific use cases.  it hasnt been working without 
pains for everyone.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101110/1a43ac06/attachment.pgp 


More information about the U-Boot mailing list