Create a bbappend for a specific recipe version

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create a bbappend for a specific recipe version

3,315 Views
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?

Labels (2)
2 Replies

2,383 Views
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,383 Views
mirkoardinghi1
Contributor IV

Thanks. I understood

0 Kudos