1. 程式人生 > >make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.解決辦法

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> 給核心目錄賦予許可權