[U-Boot] [PATCH 2/2] MX27: Update to autogenerated asm-offsets.h

Stefano Babic sbabic at denx.de
Mon Sep 5 15:30:13 CEST 2011


On 09/05/2011 03:13 PM, Wolfgang Denk wrote:
> Dear Stefano Babic,
> 
> In message <1310045827-14561-2-git-send-email-sbabic at 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 <sbabic at denx.de>
>> CC: Matthias Weisser <weisserm at arcor.de>
> 
> 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 <sbabic at denx.de>
CC: Matthias Weisser <weisserm at arcor.de>
CC: Wolfgang Denk <wd at denx.de>

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
=====================================================================


More information about the U-Boot mailing list