[英]What is the meaning of '__anonymous' function in a yocto/bitbake recipe?
In a yocto project, the core-image.bbclass contains the following code.在 yocto 项目中,core-image.bbclass 包含以下代码。
python __anonymous() {
................
................
}
What is the meaning of the __anonymous
function here?这里的
__anonymous
函数是什么意思?
In a BitBake recipe, anonymous python code is executed after the recipe is parsed.在 BitBake 配方中,在解析配方后执行匿名 Python 代码。 You can almost think of it as "post-processing" for a recipe.
您几乎可以将其视为食谱的“后处理”。 That's all there is to it.
这里的所有都是它的。 Bitbake executes the code within the anonymous block after the recipe is parsed.
Bitbake 在解析配方后执行匿名块中的代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.