6

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

PhilBot
  • 748
  • 18
  • 85
  • 173

1 Answers1

11

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/

Charles C.
  • 3,725
  • 4
  • 28
  • 50