From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 05 Sep 2011 16:28:01 +0200 Subject: [U-Boot] [PATCH V3] Makefile : fix generation of cpu related asm-offsets.h In-Reply-To: <20110905135225.3A76D140ABDF@gemini.denx.de> References: <1313575934-15552-1-git-send-email-sbabic@denx.de> <1314726584-17203-1-git-send-email-sbabic@denx.de> <20110905134419.D820F158D104@gemini.denx.de> <20110905135225.3A76D140ABDF@gemini.denx.de> Message-ID: <4E64DC71.6070908@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:52 PM, Wolfgang Denk wrote: > Dear Stefano, > Hi Wolfgang, > In message <20110905134419.D820F158D104@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 =====================================================================