rk3399 内核编译报错

内核编译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

猜你喜欢

转载自blog.csdn.net/sunxiaopengsun/article/details/114117090