From: Nick Thompson <nick.thompson@gefanuc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Fix build failure in examples/standalone
Date: Fri, 06 Nov 2009 09:22:17 +0000 [thread overview]
Message-ID: <4AF3EAC9.3050804@gefanuc.com> (raw)
In-Reply-To: <1257499011-28064-1-git-send-email-premi@ti.com>
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 -ffixed-r8 -msoft-float
> -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanjeev/u-boot/include
> -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/2009q1-
> 203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_
> ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5
> -Wall -Wstrict-prototypes -fno-stack-protector -g -Os -fno-common -ff
> ixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanje
> ev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/co
> desourcery/2009q1-203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/includ
> e -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-inte
> rwork -march=armv5 -I.. -Bstatic -T u-boot.lds -Ttext 0x80e80000 -o .c
> arm-none-linux-gnueabi-gcc: no input files
> make[1]: *** [.c] Error 1
> make[1]: Leaving directory `/home/sanjeev/u-boot/examples/standalone'
> make: *** [examples/standalone] Error 2
> premi #
>
> Signed-off-by: Sanjeev Premi <premi@ti.com>
> ---
> examples/standalone/Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
> index 5e2f2bc..61f3be1 100644
> --- a/examples/standalone/Makefile
> +++ b/examples/standalone/Makefile
> @@ -38,7 +38,7 @@ ELF-mpc8260 += mem_to_mem_idma2intr
> ELF-ppc += sched
> ELF-oxc += eepro100_eeprom
>
> -ELF := $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU))
> +ELF := $(strip $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU)))
> SREC = $(addsuffix .srec,$(ELF))
> BIN = $(addsuffix .bin,$(ELF))
>
What version of make do you have? I have seen this issue when I tried to use
make 3.80, but it doesn't seem to be a problem in 3.81
Nick.
next prev parent reply other threads:[~2009-11-06 9:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 9:16 [U-Boot] [PATCH] Fix build failure in examples/standalone Sanjeev Premi
2009-11-06 9:22 ` Nick Thompson [this message]
2009-11-06 12:45 ` Wolfgang Denk
2009-11-06 14:50 ` Premi, Sanjeev
2009-11-06 15:00 ` Premi, Sanjeev
2009-11-06 16:22 ` Mike Frysinger
2009-11-08 22:27 ` Wolfgang Denk
2009-11-08 22:46 ` Wolfgang Denk
2009-11-09 12:57 ` Premi, Sanjeev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF3EAC9.3050804@gefanuc.com \
--to=nick.thompson@gefanuc.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.