找回密码
 注册
搜索
查看: 675|回复: 1

[讨论] 请教:uboot编译出现.depend is up to date,请各位指教,谢谢

[复制链接]
发表于 2006-6-14 09:40:00 | 显示全部楼层 |阅读模式
make后提示如下,出现.depend is up to date的提示,请问如何解决阿?谢谢
[root@linux u-boot-1.1.4]# make
make[1]: Entering directory `/root/u-boot-1.1.4/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.4/tools'
make[1]: Entering directory `/root/u-boot-1.1.4/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.4/examples'
make[1]: Entering directory `/root/u-boot-1.1.4/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.4/post'
make[1]: Entering directory `/root/u-boot-1.1.4/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/root/u-boot-1.1.4/post/cpu'
make -C tools all
make[1]: Entering directory `/root/u-boot-1.1.4/tools'
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O  -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O -c mkimage.c
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O -c crc32.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O  -o mkimage mkimage.o crc32.o
strip mkimage
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O -c envcrc.c
gcc -g  -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -c environment.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O -c gen_eth_addr.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O  -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x11080000 -DUSE_HOSTCC -O  -o bmp_logo bmp_logo.o
strip bmp_logo
./bmp_logo logos/denx.bmp >/root/u-boot-1.1.4/include/bmp_logo.h
make[1]: Leaving directory `/root/u-boot-1.1.4/tools'
make -C examples all
make[1]: Entering directory `/root/u-boot-1.1.4/examples'
arm-elf-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x11080000 -I/root/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/lib/gcc-lib/arm-elf/2.95.3/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
cc1: Invalid option `abi=apcs-gnu'
make[1]: *** [hello_world.o] Error 1
make[1]: Leaving directory `/root/u-boot-1.1.4/examples'
make: *** [examples] Error 2
[root@linux u-boot-1.1.4]#
发表于 2006-6-30 10:23:00 | 显示全部楼层
修改 ../cpu/arm920t/config.mk
将:
PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
改为:
PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,$(call cc-option,-mabi=apcs-gnu),)[br]<p align=right><font color=red>+3 RD币</font></p>
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-5-9 18:27 , Processed in 0.044950 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表