本文介绍了Yocto::是否进行bitbake cleanall,也清除依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

bitbake cleanall删除目标的所有输出文件,共享状态缓存和下载的源文件

bitbake cleanall Removes all output files, shared state cache, and downloaded source files for a target

目前还不清楚或没有记录是否也清除了所有构建时间相关性

It is not clear or documented if it cleans all build time dependencies as well

推荐答案

否,cleanall不会清除依赖项.例如

No, cleanall does not clean dependencies. eg

  bitbake -c cleanall core-image-minimal

仅删除该命名配方的输出.

only removes the output of that named recipe.

我通常要清理一切"的工作是在收据世界"上运行cleanall:

What i usually do to clean "everything" is running cleanall on the receipe "world":

bitbake -c cleanall world 

如果由于诸如此类的无法解决的程序包而失败:

If that fails because of unresolvable packages like that:

ERROR: Nothing PROVIDES 'sg3-utils' (but /home/blubb/meta-freescale/recipes-devtools/utp-com/utp-com_git.bb DEPENDS on or otherwise requires it).

我只是将软件包临时添加到ASSUME_PROVIDED变量中,如下所示:

I just add the packages temporary to the ASSUME_PROVIDED variable like this :

bitbake -c cleanall world --ignore-deps=python-nativedtc-native --ignore-deps=sg3-utils

如果没有提供此软件包,则不可能在任何地方构建它们.

If nothing provides this packages it is unlikely that they where ever build.

这篇关于Yocto::是否进行bitbake cleanall,也清除依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 19:52