From: Mike Frysinger Date: Wed, 10 Nov 2010 17:11:16 -0500 Subject: [U-Boot] [PATCH 4/4] tools/env: use host build flags In-Reply-To: <20101110195417.BE1F71522C0@gemini.denx.de> References: <1281845002-26525-1-git-send-email-vapier@gentoo.org> <201011100419.10315.vapier@gentoo.org> <20101110195417.BE1F71522C0@gemini.denx.de> Message-ID: <201011101711.17574.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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