public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] tools/env: use host build flags
Date: Wed, 10 Nov 2010 17:11:16 -0500	[thread overview]
Message-ID: <201011101711.17574.vapier@gentoo.org> (raw)
In-Reply-To: <20101110195417.BE1F71522C0@gemini.denx.de>

On Wednesday, November 10, 2010 14:54:17 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > > Mike, what _exactly_ was the reason to drop cross compilation?
> > 
> > nothing was "dropped".  you need to set your HOSTCC correctly for the
> > host on which you want tools to compile.
> 
> But it is WRONG to use HOSTCC for fw_* - these are _target_ tools, and
> they need to be CROSS compiled.

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.

> > this is like arguing that none of the tools in tools/Makefile
> > cross-compile. they do.  i simply fixed tools/env/Makefile to operate
> > the same.
> 
> 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.
-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/653fc75a/attachment.pgp 

  reply	other threads:[~2010-11-10 22:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15  4:03 [U-Boot] [PATCH 1/4] tools: enable img2srec for "all" target Mike Frysinger
2010-08-15  4:03 ` [U-Boot] [PATCH 2/4] tools: update .gitignore Mike Frysinger
2010-09-12 19:39   ` Wolfgang Denk
2010-08-15  4:03 ` [U-Boot] [PATCH 3/4] unify toplevel tools targets Mike Frysinger
2010-09-12 19:40   ` Wolfgang Denk
2010-08-15  4:03 ` [U-Boot] [PATCH 4/4] tools/env: use host build flags Mike Frysinger
2010-09-12 19:41   ` Wolfgang Denk
2010-11-08 18:15     ` Detlev Zundel
2010-11-08 23:15       ` Wolfgang Denk
2010-11-09  0:01         ` Steve Sakoman
2010-11-09  9:19           ` Daniel Hobi
2010-11-10  9:19       ` Mike Frysinger
2010-11-10 19:54         ` Wolfgang Denk
2010-11-10 22:11           ` Mike Frysinger [this message]
2010-11-10 22:29             ` Wolfgang Denk
2010-11-10 22:55               ` Mike Frysinger
2010-11-14 21:59                 ` Wolfgang Denk
2010-11-15 11:35                   ` Mike Frysinger
2010-09-12 19:39 ` [U-Boot] [PATCH 1/4] tools: enable img2srec for "all" target Wolfgang Denk
2010-09-12 19:44   ` Mike Frysinger
2010-09-12 20:05 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201011101711.17574.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox