原创:kylin_zeng http://blog.chinaunix.net/uid/23795897.html
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
scripts/mod/empty.c:1: error: bad value (armv5t) for -march= switch
scripts/mod/empty.c:1: error: bad value (armv5t) for -mtune= switch
make[2]: *** [scripts/mod/empty.o] 错误 1
make[1]: *** [scripts/mod] 错误 2
make[1]: *** [scripts]错误 2
这个错误是没有知道arm 和交叉编译工具链,改成 make ARCH=arm CROSS_COMPILT=arm-eabi- kernel.img 后解决。
阅读(956) | 评论(0) | 转发(0) |