<br>my board is lpc2210,i found a patch from nxp u-boot-lpc2294.patch<br><br>but when i compile the uboot as :<br><br>cd u-boot-1.2.0<br>patch -p1 < ../u-boot-lpc2294.patch<br>make lpc2294_config<br>make <br><br>the sysytem give me a error :
<br><br>arm-elf-gcc: store.o: No such file or directory<br>arm-elf-gcc: unrecognized option `-MQ'<br>arm-elf-gcc: load.o: No such file or directory<br>arm-elf-gcc: unrecognized option `-MQ'<br>arm-elf-gcc: cr.o: No such file or directory
<br>arm-elf-gcc: unrecognized option `-MQ'<br>arm-elf-gcc: b.o: No such file or directory<br>arm-elf-gcc: unrecognized option `-MQ'<br>arm-elf-gcc: multi.o: No such file or directory<br>arm-elf-gcc: unrecognized option `-MQ'
<br>arm-elf-gcc: string.o: No such file or directory<br>arm-elf-gcc: unrecognized option `-MQ'<br><br>(the 1.1.6 alse give the same error )<br><br>after i compile the u-boot-1.1.3,the error is :<br><br>make[1]: Entering directory `/home/newlad/u-
boot-1.1.3/examples'<br>arm-elf-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x81400000 -I/home/newlad/u-boot-1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -Uarm -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
<br>arm-elf-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x81400000 -I/home/newlad/u-boot-1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=arm7tdmi -msoft-float -Uarm -Wall -Wstrict-prototypes -c -o
stubs.o stubs.c<br>arm-elf-ar crv libstubs.a stubs.o<br>a - stubs.o<br>make[1]: *** No rule to make target `hello_world.srec', needed by `all'. Stop.<br>make[1]: Leaving directory `/home/newlad/u-boot-1.1.3/examples'
<br>make: *** [examples] Error 2<br><br><br><br>