zlib-intel: use '.' instead of '_' in PV

Otherwise everything after underscore either gets ignored (in case of
devtool)  or converted to a hyphen. This ensures that the version is
handled more consistently.

Also add a custom GITTAGREGEX check to check for upstream releases.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Anuj Mittal 2019-08-08 22:45:17 +08:00
parent 64f8ef709f
commit f4f248406d

View File

@ -14,3 +14,5 @@ S = "${WORKDIR}/git"
RPROVIDES_${PN} += "zlib"
RPROVIDES_${PN}-ptest += "zlib-ptest"
UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+)_jtkv(\d+(\.\d+)+))$"