Create a bbappend for a specific recipe version

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Create a bbappend for a specific recipe version

3,797 次查看
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,865 次查看
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,865 次查看
mirkoardinghi1
Contributor IV

Thanks. I understood

0 项奖励
回复