简体   繁体   中英

Bitbake bbappend file percent in filename

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"?

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM