binutils: drop UPSTREAM_VERSION_UNKNOWN

As there is now a new version of binutils,
upstream version check works again.

(From OE-Core rev: c63c7fb890ab356c747d6948ca9e13e0c3b83dfb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-10-02 14:00:26 +02:00
committed by Richard Purdie
parent e1c173621a
commit e66afddf41

View File

@@ -14,11 +14,8 @@ def binutils_branch_version(d):
pvsplit = d.getVar('PV').split('.')
return pvsplit[0] + "_" + pvsplit[1]
# Actual upstream version is 2.32 (without the .0), so we have to set
# UPSTREAM_VERSION_UNKNOWN to avoid the version check failure. The line can
# be removed when a new version of binutils is released (if the PV is then
# correctly set to match the upstream version tag).
UPSTREAM_VERSION_UNKNOWN = "1"
# When upgrading to 2.33, please make sure there is no trailing .0, so
# that upstream version check can work correctly.
PV = "2.32.0"
CVE_VERSION = "2.32"
BINUPV = "${@binutils_branch_version(d)}"