[U-Boot] [PATCH V3] Makefile : fix generation of cpu related asm-offsets.h

Stefano Babic sbabic at denx.de
Mon Sep 5 16:28:01 CEST 2011


On 09/05/2011 03:52 PM, Wolfgang Denk wrote:
> Dear Stefano,
>

Hi Wolfgang,

> In message <20110905134419.D820F158D104 at gemini.denx.de> I wrote:
>>
>> This one is not that much better:
> 
> Maybe it helps debugging - here is an observation:
> 
>> sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm1136/omap24xx/asm-offsets.s: No such file or directory
>> sed: can't read /work/wd/tmp-arm/arch/arm/cpu/arm926ejs/davinci/asm-offsets.s: No such file or directory
>> sed: can't read /work/wd/tmp-arm/arch/arm/cpu/ixp//asm-offsets.s: No such file or directory
> 
> Mind the inconsistency - see the double slash after "ixp".

An evident error is :

+       else \
+               touch $(src)$(CPUDIR)/$(SOC)/asm-offsets.s; \
+       fi

Then an asm-offsets.s not in the out-of-tree directory is generated. I
send V4 of the patch.

Changing that I can compile clean the da850evm board, and mostly of
other boards you report broken. However, I cannot compile the harmony,
but is seem to me this is an unrelated issue:

I did it with:
	make O=~/Projects/imx/tmp  harmony

and I get this error:
common/board.o ../common/board.c -c
Assembler messages:
Fatal error: can't create
/home/stefano/Projects/imx/tmp/board/nvidia/harmony/../common/board.o:
No such file or directory

This looks related that the Makefile in the board directory refers
always to the common code in ../common, that is not found using the
out-of-tree.

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