make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.解决办法

*** Error during update of the configuration. 
make[2]: *** [silentoldconfig] Error 1 
make[1]: *** [silentoldconfig] Error 2 
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.

在编译android系统内核的时候出现了如上错误,之前没有遇到这样的错误,编译android系统的时候也是把内核顺利编译成功了的,但是单独编译内核的时候出现了问题,查询得知是在之前我是用root用户编译的,而现在我是用普通用户编译  所以出现了错误,解决方法:

1,用root用户编译

2,chmod -R 777 <kenerl directory> 给内核目录赋予权限

猜你喜欢

转载自blog.csdn.net/nicholas_duan/article/details/82854489