bitbake: cooker: add support for using % as a wildcard in bbappend filename
authorSaul Wold <sgw@linux.intel.com>
Thu, 21 Nov 2013 17:50:41 +0000 (09:50 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 24 Nov 2013 12:25:36 +0000 (12:25 +0000)
commit38224eaacbed2842503e418d50b13c7c851b35b8
tree7344b962844157480dc5764c49ddda94212284ae
parent534e0adb1782ca461ab4b21e52848a0bb0824778
bitbake: cooker: add support for using % as a wildcard in bbappend filename

There has been a continuing call for supporting wildcard in bbappend
filenames. 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.

[YOCTO #5411]

(Bitbake rev: 31bc9af9cd56e7b318924869970e850993fafc5f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py