[U-Boot] [PATCH 2/2] tools: Use override when changing CC, CFLAGS , etc.

Mike Frysinger vapier at gentoo.org
Tue Oct 20 00:37:03 CEST 2009


On Monday 19 October 2009 17:56:37 Scott Wood wrote:
> Mike Frysinger wrote:
> > On Monday 19 October 2009 17:24:35 Scott Wood wrote:
> >> If the user has specified a CC or similar on the command line, that is
> >> the cross compiler, not the host compiler.  Override is needed to keep
> >> these assignments from being ignored in that case.
> >
> > then again, if we didnt mix host and target variable names, this wouldnt
> > be a problem.  in a sane world, all of the host stuff would be HOSTXX (or
> > BUILDXX).
> 
> Right... I initially tried substituting in HOSTCC, but it still tried to
> use CC, probably from an implicit rule that would need to be made
> explicit in order to use HOSTCC.
> 
> I can try to respin it with a new explicit rule if y'all want.

if you feel like cleaning up all the host code, that'd be great, but i'm not 
going to NACK a patch that obviously fixes broken code ;)
-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/20091019/e7d0f7fe/attachment.pgp 


More information about the U-Boot mailing list