rk3399 kernel compilation error

Kernel compilation unrecognized command line option "-milittle-endian" solution:

Just set the environment variable: export CROSS_COMPILE="aarch64-linux-gnu-"

strncat’ specified bound 2 equals source length [-Wstringop-overflow=]

Add -Wno-stringop-overflow in KBUILD_CFLAGS of the main Makefile

 

Guess you like

Origin blog.csdn.net/sunxiaopengsun/article/details/114117090
Recommended