]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: fix upstream version check
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 27 Mar 2019 14:09:20 +0000 (15:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Mar 2019 23:26:19 +0000 (23:26 +0000)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/binutils/binutils-2.32.inc

index 74239868151c1ffce2fcb1d84898c52108b1d785..1540644124135e59b7e685fafa66aefa5353cf2c 100644 (file)
@@ -14,6 +14,11 @@ 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"
 PV = "2.32.0"
 BINUPV = "${@binutils_branch_version(d)}"
 #BRANCH = "binutils-${BINUPV}-branch"