Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitbake bbappend file percent in filename

Tags:

yocto

bitbake

I can't find in the yocto documentation why some bbappend files have a "%" in the filename. An example would the "qtbase_%.bbappend".

Does it mean "apply to all versions of the qtbase bitable recipe"?

like image 416
PhilBot Avatar asked Mar 28 '16 12:03

PhilBot


1 Answers

The % wildcard is accepted to match any character. For example

PREFERRED_VERSION_linux-imx_mx6 = "3.10.17"

PREFERRED_VERSION_linux-imx_mx6 = "3.10%"

The wildcard is actually allow matching of the name and version up to the point of encountering the %. This approach will allow for matching of the major or major.minor.

Exampes:

busybox_1.21.1.bb

busybox_1.21.%.bbappend will match

busybox_1.2%.bbappend will also match

if we update to busybox_1.3.0.bb the above won't match, but a busybox_1.%.bb will.

http://patchwork.openembedded.org/patch/62171/

like image 108
Charles C. Avatar answered Nov 20 '22 05:11

Charles C.