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

Wolfgang Denk wd at denx.de
Tue Oct 20 00:35:14 CEST 2009


Dear Scott Wood,

In message <20091019212435.GA31339 at loki.buserror.net> you 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.
> 
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
>  tools/Makefile     |   10 +++++-----
>  tools/gdb/Makefile |    6 +++---
>  2 files changed, 8 insertions(+), 8 deletions(-)

As Mike pointed out, we should rather consistently use HOSTCC when we
refer to the host's C compiler.

I suggest you rework the patch to do that.

Thanks.

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 at denx.de
Swap read error.  You lose your mind.


More information about the U-Boot mailing list