diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-03-27 15:09:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-29 08:28:53 +0000 |
commit | 40fe254a3eca8c71bf442f1098e787fc99a21b92 (patch) | |
tree | 8487c5491b8f948927d4f7997776269a532378df /meta/recipes-devtools/binutils | |
parent | ad62b8b42033811e8d753c3c2f4cbe56ba7d879c (diff) | |
download | poky-40fe254a3eca8c71bf442f1098e787fc99a21b92.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.32.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.32.inc b/meta/recipes-devtools/binutils/binutils-2.32.inc index 7423986815..1540644124 100644 --- a/meta/recipes-devtools/binutils/binutils-2.32.inc +++ b/meta/recipes-devtools/binutils/binutils-2.32.inc | |||
@@ -14,6 +14,11 @@ def binutils_branch_version(d): | |||
14 | pvsplit = d.getVar('PV').split('.') | 14 | pvsplit = d.getVar('PV').split('.') |
15 | return pvsplit[0] + "_" + pvsplit[1] | 15 | return pvsplit[0] + "_" + pvsplit[1] |
16 | 16 | ||
17 | # Actual upstream version is 2.32 (without the .0), so we have to set | ||
18 | # UPSTREAM_VERSION_UNKNOWN to avoid the version check failure. The line can | ||
19 | # be removed when a new version of binutils is released (if the PV is then | ||
20 | # correctly set to match the upstream version tag). | ||
21 | UPSTREAM_VERSION_UNKNOWN = "1" | ||
17 | PV = "2.32.0" | 22 | PV = "2.32.0" |
18 | BINUPV = "${@binutils_branch_version(d)}" | 23 | BINUPV = "${@binutils_branch_version(d)}" |
19 | #BRANCH = "binutils-${BINUPV}-branch" | 24 | #BRANCH = "binutils-${BINUPV}-branch" |