root@hikaru-VirtualBox:~/下载/u-boot-2014.04-mini2440-master# make clean
root@hikaru-VirtualBox:~/下载/u-boot-2014.04-mini2440-master# make distclean
CLEAN scripts/basic
CLEAN include/config include/generated
CLEAN include/config.h include/config.mk
root@hikaru-VirtualBox:~/下载/u-boot-2014.04-mini2440-master# make mini2440_config
Configuring for mini2440 board...
root@hikaru-VirtualBox:~/下载/u-boot-2014.04-mini2440-master# make CROSS_COMPILE=arm-linux-
GEN include/autoconf.mk.dep
cc1: 错误: -march= switch所带参数(armv4)不正确
GEN include/autoconf.mk
cc1: 错误: -march= switch所带参数(armv4)不正确
CHK include/config/uboot.release
UPD include/config/uboot.release
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC scripts/basic/fixdep
CC lib/asm-offsets.s
lib/asm-offsets.c:1:0: 错误: -march= switch所带参数(armv4)不正确
make[1]: *** [lib/asm-offsets.s] 错误 1
make: *** [prepare0] 错误 2
本人新手UBOOT编译官方提供2014.4时出现上面的问题,编译移植过去的MINI2440,移植步骤是按照
http://www.cnblogs.com/qiaoqiao2003/p/3767642.html这里提供的
UBUNTU12.4 UBOOT2104.4 交叉编译FriendlyARM提供的GCC