[OE-core] [PATCH 6/8] binutils: fix upstream version check
ChenQi
Qi.Chen at windriver.com
Thu Mar 28 12:16:53 UTC 2019
Hi Alexander,
I just sent out a patch to change the PV to "2.32".
If it's 2.32, does this var still needs to be set?
Best Regards,
Chen Qi
On 03/27/2019 10:09 PM, Alexander Kanavin wrote:
> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
> meta/recipes-devtools/binutils/binutils-2.32.inc | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-2.32.inc b/meta/recipes-devtools/binutils/binutils-2.32.inc
> index 74239868151..15406441241 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):
> 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"
More information about the Openembedded-core
mailing list