码迷,mamicode.com
首页 > 其他好文 > 详细

编译遇到make mrmroper问题

时间:2018-08-01 14:27:44      阅读:324      评论:0      收藏:0      [点我收藏+]

标签:erro   command   scripts   release   har   rop   dep   error   err   

make[1]: Entering directory `/home/share/project/ql-ol-sdk/ql-ol-kernelmake[2]: Entering directory `/home/share/project/ql-ol-sdk/ql-ol-kernel/build  CHK     include/config/kernel.release
  GEN     ./Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/bin2c
  Using .. as source for kernel
  .. is not clean, please run make mrproper
  in the .. directory.
make[2]: *** [prepare3] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/share/project/ql-ol-sdk/ql-ol-kernel/buildmake[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/share/project/ql-ol-sdk/ql-ol-kernelmake: *** [kernel] Error 2

编译kernel的时候发生以上错误。

解决办法如下:

ricks@ubuntu:~/share/project/ql-ol-sdk$ cd ql-ol-kernel/
ricks@ubuntu:~/share/project/ql-ol-sdk/ql-ol-kernel$ make mrproper
arch/arm/boot/dts/Makefile:525: warning: overriding commands for target `dtbsarch/arm/boot/dts/Makefile:525: warning: ignoring old commands for target `dtbs  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config include/generated

make clean 和 make mrproper的区别请参考 https://www.cnblogs.com/ricks/articles/9400334.html

 

编译遇到make mrmroper问题

标签:erro   command   scripts   release   har   rop   dep   error   err   

原文地址:https://www.cnblogs.com/ricks/p/9400367.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!