From: Wolfgang Denk Date: Wed, 10 Nov 2010 23:29:52 +0100 Subject: [U-Boot] [PATCH 4/4] tools/env: use host build flags In-Reply-To: <201011101711.17574.vapier@gentoo.org> References: <1281845002-26525-1-git-send-email-vapier@gentoo.org> <201011100419.10315.vapier@gentoo.org> <20101110195417.BE1F71522C0@gemini.denx.de> <201011101711.17574.vapier@gentoo.org> Message-ID: <20101110222952.AA02FB195@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <201011101711.17574.vapier@gentoo.org> you 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? 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_*). Your "one size fits all" approach is broken. > > 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. 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 Programmer's Lament: (Shakespeare, Macbeth, Act I, Scene vii) "That we but teach bloody instructions, which, being taught, return to plague the inventor..."