我编译4.0版本时遇到了如下问题,不知道怎么回事。
broadon@broadon:~/tiny210-u-boot-version4.0$ make ARCH=arm CROSS_COMPILE=/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi- tiny210_config
Configuring for tiny210 board...
broadon@broadon:~/tiny210-u-boot-version4.0$ make ARCH=arm CROSS-COMPILE=/opt/FriendlyARM/toolschain/4.5.1/bin/arm-none-linux-gnueabi- all spl
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
arm-linux-gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x23E00000 -I/home/broadon/tiny210-u-boot-version4.0/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
Generating include/generated/generic-asm-offsets.h
tools/scripts/make-asm-offsets lib/asm-offsets.s include/generated/generic-asm-offsets.h
if [ -f arch/arm/cpu/armv7/s5pc1xx/asm-offsets.c ];then \
arm-linux-gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x23E00000 -I/home/broadon/tiny210-u-boot-version4.0/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security \
-o arch/arm/cpu/armv7/s5pc1xx/asm-offsets.s arch/arm/cpu/armv7/s5pc1xx/asm-offsets.c -c -S; \
else \
touch arch/arm/cpu/armv7/s5pc1xx/asm-offsets.s; \
fi
Generating include/generated/asm-offsets.h
tools/scripts/make-asm-offsets arch/arm/cpu/armv7/s5pc1xx/asm-offsets.s include/generated/asm-offsets.h
for dir in tools examples/standalone examples/api arch/arm/cpu/armv7 /home/broadon/tiny210-u-boot-version4.0/arch/arm/cpu/armv7/ ; do \
make -C $dir _depend ; done
make[1]: Entering directory `/home/broadon/tiny210-u-boot-version4.0/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/broadon/tiny210-u-boot-version4.0/tools'
make[1]: Entering directory `/home/broadon/tiny210-u-boot-version4.0/examples/standalone'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/broadon/tiny210-u-boot-version4.0/examples/standalone'
make[1]: Entering directory `/home/broadon/tiny210-u-boot-version4.0/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/broadon/tiny210-u-boot-version4.0/examples/api'
make[1]: Entering directory `/home/broadon/tiny210-u-boot-version4.0/arch/arm/cpu/armv7'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/broadon/tiny210-u-boot-version4.0/arch/arm/cpu/armv7'
make[1]: Entering directory `/home/broadon/tiny210-u-boot-version4.0/arch/arm/cpu/armv7'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/broadon/tiny210-u-boot-version4.0/arch/arm/cpu/armv7'
make -C tools all
make[1]: Entering directory `/home/broadon/tiny210-u-boot-version4.0/tools'
make[1]: *** No rule to make target `/home/smb/smb/tiny210-u-boot-version4.0/lib/crc32.c', needed by `crc32.o'. Stop.
make[1]: Leaving directory `/home/broadon/tiny210-u-boot-version4.0/tools'
make: *** [tools] Error 2