From: Mike Frysinger Date: Wed, 10 Nov 2010 17:55:53 -0500 Subject: [U-Boot] [PATCH 4/4] tools/env: use host build flags In-Reply-To: <20101110222952.AA02FB195@gemini.denx.de> References: <1281845002-26525-1-git-send-email-vapier@gentoo.org> <201011101711.17574.vapier@gentoo.org> <20101110222952.AA02FB195@gemini.denx.de> Message-ID: <201011101755.54287.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 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