سؤال

In a yocto project, the core-image.bbclass contains the following code.

python __anonymous() {
    ................
    ................
}

What is the meaning of the __anonymous function here?

هل كانت مفيدة؟

المحلول

In a BitBake recipe, anonymous python code is executed after the recipe is parsed. 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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top