Re: [U-Boot] [PATCH] Fix build failure in examples/standalone

2009-11-09 Thread Premi, Sanjeev
-Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Monday, November 09, 2009 4:16 AM To: Premi, Sanjeev Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] Fix build failure in examples/standalone Dear Premi, Sanjeev, In message

Re: [U-Boot] [PATCH] Fix build failure in examples/standalone

2009-11-08 Thread Wolfgang Denk
Dear Mike Frysinger, In message 200911061122.16814.vap...@gentoo.org you wrote: Just after pressing this ENTER, I tried the following: [Moved $(ELF-y) to end of the assignment and kill trailing spaces] -ELF := $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU)) +ELF :=

Re: [U-Boot] [PATCH] Fix build failure in examples/standalone

2009-11-08 Thread Wolfgang Denk
Dear Premi, Sanjeev, In message b85a65d85d7eb246be421b3fb0fbb59301de31f...@dbde02.ent.ti.com you wrote: I was surprised too. It is the first time ever I have seen this problem with any Makefile over years. To debug I tried this: ... Makefile:47: *** *** COBJS evaluates to [hello_world.o

[U-Boot] [PATCH] Fix build failure in examples/standalone

2009-11-06 Thread Sanjeev Premi
The variable ELF contains many leading spaces. This adds a 'fake' source file variable COBJS. It leads to build failure as below: make[1]: Entering directory `/home/sanjeev/u-boot/examples/standalone' arm-none-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__

Re: [U-Boot] [PATCH] Fix build failure in examples/standalone

2009-11-06 Thread Nick Thompson
On 06/11/09 09:16, Sanjeev Premi wrote: The variable ELF contains many leading spaces. This adds a 'fake' source file variable COBJS. It leads to build failure as below: make[1]: Entering directory `/home/sanjeev/u-boot/examples/standalone' arm-none-linux-gnueabi-gcc -g -Os -fno-common