文件名中的 Bitbake bbappend 文件百分比

Bitbake bbappend file percent in filename

我在 yocto 文档中找不到为什么某些 bbappend 文件的文件名中有“%”。 "qtbase_%.bbappend" 就是一个例子。

是否意味着"apply to all versions of the qtbase bitable recipe"?

% 通配符可以匹配任何字符。例如

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/