make module失败的原因cc1: error: unrecognized command line option “-m64

cc1: error: unrecognized command line option "-m64"
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
make[2]: *** [/work/rootfs/123/test.o] 错误 1
make[1]: *** [_module_/work/rootfs/123] 错误 2

 

缺少编译的对象,需要加入ARCH=arm

posted @ 2015-09-02 14:22  johnny_shi  阅读(3828)  评论(0编辑  收藏  举报