内核编译unrecognized command line option “-milittle-endian”解决方案:
设置环境变量即可:export CROSS_COMPILE="aarch64-linux-gnu-"
strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
在主Makefile的KBUILD_CFLAGS加入-Wno-stringop-overflow
编译后生成的文件目录:/root/work/code/system/kernel-stable/boot_linux