summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-10-02 14:00:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-02 14:41:22 +0100
commitc63c7fb890ab356c747d6948ca9e13e0c3b83dfb (patch)
tree62df4e3eefacbc404f80d0763592c67d96c59de9
parentad36335b8592e0387dd36066920cd5ffefd375f8 (diff)
downloadopenembedded-core-contrib-c63c7fb890ab356c747d6948ca9e13e0c3b83dfb.tar.gz
binutils: drop UPSTREAM_VERSION_UNKNOWN
As there is now a new version of binutils, upstream version check works again. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.32.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.32.inc b/meta/recipes-devtools/binutils/binutils-2.32.inc
index d3c52936d1..19baf8a883 100644
--- a/meta/recipes-devtools/binutils/binutils-2.32.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.32.inc
@@ -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)}"