mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
binutils: fix upstream version check
(From OE-Core rev: 326b6a22c85e7b932c7196fca5350a55e21f46f5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ad62b8b420
commit
40fe254a3e
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user