[U-Boot-Users] Erros when building u-boot-1.1.4...

My host compiler is gcc-3.3.6, cross-compiler is arm-linux-gcc 3.4.1. Before I build u-boot for SMDK2410, I apply this patch:
--- cpu/arm920t/config.mk (revision 4) +++ cpu/arm920t/config.mk (working copy) @@ -30,5 +30,5 @@ # Supply options according to compiler version # # ========================================================================= -PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) +PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,$(call cc-option,-mabi=apcs-gnu,)) PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
Then,
make distclean; make smdk2410_config; make all
But I got this error message:
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -malignment-traps -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/cyt/svnwork/u-boot/u-boot-1.1.4/trunk/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mapcs-32 -Wall -Wstrict-prototypes -c -o stubs.o stubs.c arm-linux-ar crv libstubs.a stubs.o a - stubs.o make[1]: *** No rule to make target `hello_world.srec', needed by `all'. Stop. make[1]: Leaving directory `/home/cyt/svnwork/u-boot/u-boot-1.1.4/trunk/examples' make: *** [examples] Error 2
Any suggestions?
Best Regards.
participants (1)
-
James Chen (ꐏ┩�)