简体   繁体   English

Bitbake bbappend文件名中的百分比

[英]Bitbake bbappend file percent in filename

I can't find in the yocto documentation why some bbappend files have a "%" in the filename. 在yocto文档中找不到为什么某些bbappend文件的文件名中包含“%”。 An example would the "qtbase_%.bbappend". 例如“ qtbase _%。bbappend”。

Does it mean "apply to all versions of the qtbase bitable recipe"? 这是否意味着“适用于qtbase可咬食谱的所有版本”?

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. 这种方法将允许匹配major或major.minor。

Exampes: 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. 如果我们将其更新为busybox_1.3.0.bb,则上述内容将不匹配,但是busybox_1。%。bb将会匹配。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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