Create a bbappend for a specific recipe version

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Create a bbappend for a specific recipe version

3,324件の閲覧回数
mirkoardinghi1
Contributor IV

Hi,

I would like to apply a patch only for a specifice bb version

For example I have the following package (from bitbake -s)

qtbase                              :5.5.0+gitAUTOINC+c619d2daac-r0

the bb file is sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb

and I want to create e bbappend that will be applied only for this package and not, for example, qtbase 5.5.6

How can I do?

ラベル(2)
タグ(4)
2 返答(返信)

2,392件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Mirko Ardinghi,

The append files apply only to the recipe that shares the exact same path and name. In the case of qtbase 5.5.0 you would need to use the same recipe name with the .bbappend extension.

The qtbase_git.bb recipe is written in a way that makes easy to change the qt base version and add patches. The actual qtbase version to be used is given by the qt5-inc.inc file on the same path as the qtbase recipe.

There may be more than one way to accomplish what you want but one option would be to add the append and add a conditional statement to validate the PV version or QT_MODULE_BRANCH, depending on how specific you would like to be.

Regards,

2,392件の閲覧回数
mirkoardinghi1
Contributor IV

Thanks. I understood

0 件の賞賛