From: Stefano Babic Date: Mon, 05 Sep 2011 15:30:13 +0200 Subject: [U-Boot] [PATCH 2/2] MX27: Update to autogenerated asm-offsets.h In-Reply-To: <20110905131349.1BBEA158D104@gemini.denx.de> References: <1310045827-14561-1-git-send-email-sbabic@denx.de> <1310045827-14561-2-git-send-email-sbabic@denx.de> <20110905131349.1BBEA158D104@gemini.denx.de> Message-ID: <4E64CEE5.8050305@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 On 09/05/2011 03:13 PM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1310045827-14561-2-git-send-email-sbabic@denx.de> you wrote: >> On i.MX27, the asm-offsets.h file is not yet generated as it should be. >> >> Signed-off-by: Stefano Babic >> CC: Matthias Weisser > > This commit breaks out-of-tree building of all i.MX27 boards: > It was not exactly this one, but yes, out-of-tree building was broken adding the asm-offsets.h. I sent a patch to fix this issue: http://patchwork.ozlabs.org/patch/112374/ commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks building on a different directory with the O= parameter. The patch will fix this issue, generating always asm-offsets.h before the other targets. Signed-off-by: Stefano Babic CC: Matthias Weisser CC: Wolfgang Denk This Patch should be reviewed. I have tested it with all architectures (V2 of my patch broke PowerPc boards !), and I am quite sure it works - not sure the solution I proposed is the best. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================