public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Build breaks on some OMAP3 configs
@ 2009-10-30 16:06 Gadiyar, Anand
  2009-10-30 16:47 ` Dirk Behme
  0 siblings, 1 reply; 11+ messages in thread
From: Gadiyar, Anand @ 2009-10-30 16:06 UTC (permalink / raw)
  To: u-boot

Hi,

I was trying to build u-boot for omap3_3430sdp and
omap3_zoom2, and the build fails with the error below.

I'm on commit f2b4bc0 from the master branch. I'm
using CodeSourcery's 2008q3 toolchain.
The commands I ran were:

make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_3430sdp_config; make CROSS_COMPILE=arm-none-linux-gnueabi-

Any ideas what I'm doing wrong?

Thanks in advance,
Anand


make -C examples/standalone all
make[1]: Entering directory `/data/git/denx-uboot/u-boot/examples/standalone'
arm-none-linux-gnueabi-gcc -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/data/git/denx-uboot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/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 -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/data/git/denx-uboot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -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 `/data/git/denx-uboot/u-boot/examples/standalone'
make: *** [examples/standalone] Error 2

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot] Build breaks on some OMAP3 configs
@ 2009-10-30 16:54 Gadiyar, Anand
  2009-10-30 20:34 ` Nishanth Menon
  2009-11-06  9:04 ` Premi, Sanjeev
  0 siblings, 2 replies; 11+ messages in thread
From: Gadiyar, Anand @ 2009-10-30 16:54 UTC (permalink / raw)
  To: u-boot

> Hi,
> 
> I was trying to build u-boot for omap3_3430sdp and
> omap3_zoom2, and the build fails with the error below.
> 
> I'm on commit f2b4bc0 from the master branch. I'm
> using CodeSourcery's 2008q3 toolchain.
> The commands I ran were:
> 
> make CROSS_COMPILE=arm-none-linux-gnueabi- 
> omap3_3430sdp_config; make CROSS_COMPILE=arm-none-linux-gnueabi-
> 
> Any ideas what I'm doing wrong?
> 
> make -C examples/standalone all
> make[1]: Entering directory `/data/git/denx-uboot/u-boot/examples/standalone'
> arm-none-linux-gnueabi-gcc -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/data/git/denx-uboot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/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 -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/data/git/denx-uboot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /data/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -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 `/data/git/denx-uboot/u-boot/examples/standalone'
> make: *** [examples/standalone] Error 2


I took a look at examples/standalone/Makefile:

The patch below gets things going again. So looks like something
clobbered $(ELF-y). Any ideas what it could be?

Thanks in advance,
Anand

diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index 5e2f2bc..73b19e9 100644
--- a/examples/standalone/Makefile
+++ b/examples/standalone/Makefile
@@ -39,6 +39,7 @@ ELF-ppc                          += sched
 ELF-oxc                          += eepro100_eeprom
 
 ELF := $(ELF-y) $(ELF-$(ARCH)) $(ELF-$(BOARD)) $(ELF-$(CPU))
+ELF := hello_world
 SREC = $(addsuffix .srec,$(ELF))
 BIN  = $(addsuffix .bin,$(ELF))
 

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-11-06  9:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 16:06 [U-Boot] Build breaks on some OMAP3 configs Gadiyar, Anand
2009-10-30 16:47 ` Dirk Behme
2009-10-30 16:52   ` Nishanth Menon
2009-10-30 16:55     ` Gadiyar, Anand
  -- strict thread matches above, loose matches on Subject: below --
2009-10-30 16:54 Gadiyar, Anand
2009-10-30 20:34 ` Nishanth Menon
2009-10-30 21:35   ` Wolfgang Denk
2009-10-31 13:07     ` Nishanth Menon
2009-10-31 13:57       ` Menon, Nishanth
2009-11-06  9:04 ` Premi, Sanjeev
2009-11-06  9:08   ` Gadiyar, Anand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox