diff options
author | Sanjeev Premi <premi@ti.com> | 2009-11-09 22:43:00 +0530 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-02 23:17:26 +0100 |
commit | 604f7ce55ad74694ef8743ad2e99933dc0265e46 (patch) | |
tree | cfb2f78d7164532985ab08984945bf82242d4575 /common/image.c | |
parent | af860962b544ddf323c4ff68454f00d31e44df0a (diff) | |
download | u-boot-imx-604f7ce55ad74694ef8743ad2e99933dc0265e46.zip u-boot-imx-604f7ce55ad74694ef8743ad2e99933dc0265e46.tar.gz u-boot-imx-604f7ce55ad74694ef8743ad2e99933dc0265e46.tar.bz2 |
Fix build failure in examples/standalone
Some versions of 'make' do not handle trailing white-spaces
properly. Trailing spaces in ELF causes a 'fake' source to
be added to the variable COBJS; leading to build failure
(listed below). The problem was found with GNU Make 3.80.
Using text-function 'strip' as a workaround for the problem.
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>
Fixed typo (s/ElF/ELF/).
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/image.c')
0 files changed, 0 insertions, 0 deletions