1.顶层MAKEFILE
修改交叉编译工具链:CROSS_COMPILE = /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-
注释Makfile错误:
# ARM relocations should all be R_ARM_RELATIVE.
checkarmreloc: $(obj)u-boot
# @if test "R_ARM_RELATIVE" != \
"`$(CROSS_COMPILE)readelf -r $< | cut -d ' ' -f 4 | grep R_ARM | sort -u`"; \
then echo "$< contains relocations other than \
R_ARM_RELATIVE"; false; fi
2.复制cp.sh文件