linux driver error ------ 编译驱动出现 ERROR: Kernel configuration is invalid

   ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it. 

内核需要编译一下

对于 iTOP4412 linux 开发板,进入内核根目录,修改 Makefile 里面 CROSS_COMPILE 路径,然后 make 即可。

原文地址:https://www.cnblogs.com/god-of-death/p/8719053.html