CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: “include/generated/mach-types.h”是最新的。
CC kernel/bounds.s
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mapcs"
cc1: error: unrecognized command line option "-mno-sched-prolog"
kernel/bounds.c:1: error: unknown ABI (apcs-gnu) for -mabi= switch
kernel/bounds.c:1: error: bad value (armv5t) for -march= switch
kernel/bounds.c:1: error: bad value (armv5t) for -mtune= switch
make[1]: *** [kernel/bounds.s] 错误 1
make: *** [prepare0] 错误 2
内核编译时出现上述错误时,采用如下方法:
命令行加入 ARCH=arm CROSS_COMPILE="arm-linux-"或
export CROSS_COMPILE="arm-linux-"
export ARCH=armmake zImage