From: Wolfgang Denk Date: Wed, 10 Nov 2010 20:54:17 +0100 Subject: [U-Boot] [PATCH 4/4] tools/env: use host build flags In-Reply-To: <201011100419.10315.vapier@gentoo.org> References: <1281845002-26525-1-git-send-email-vapier@gentoo.org> <20100912194119.E0B2815242D@gemini.denx.de> <201011100419.10315.vapier@gentoo.org> Message-ID: <20101110195417.BE1F71522C0@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 <201011100419.10315.vapier@gentoo.org> you 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. > 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? 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 The more we disagree, the more chance there is that at least one of us is right.