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

04-30 12:44