On Sun, Apr 11, 2021 at 8:49 AM akuster <[email protected]> wrote:
>
> If BRANCH is defined in local.conf then that name is used to d/l sources
> for binutils. You will get this error:
>
> Fetcher failure for URL:
> 'git://sourceware.org/git/binutils-gdb.git;branch=hardknott;protocol=git'.
> Unable to fetch URL from any source.
>
> Rename to SRCBRANCH like glibc has to avoid the more common variable name
> BRANCH.
>
> Signed-off-by: Armin Kuster <[email protected]>
> ---
> meta/recipes-devtools/binutils/binutils-2.36.inc | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-2.36.inc
> b/meta/recipes-devtools/binutils/binutils-2.36.inc
> index 2968291889..f638f02e8f 100644
> --- a/meta/recipes-devtools/binutils/binutils-2.36.inc
> +++ b/meta/recipes-devtools/binutils/binutils-2.36.inc
> @@ -19,13 +19,13 @@ def binutils_branch_version(d):
> PV = "2.36.1"
> CVE_VERSION = "2.36.1"
> BINUPV = "${@binutils_branch_version(d)}"
> -#BRANCH = "binutils-${BINUPV}-branch"
> -BRANCH ?= "binutils-2_36-branch"
> +#SRCBRANCH = "binutils-${BINUPV}-branch"
> +SRCBRANCH ?= "binutils-2_36-branch"
if dropping to use BINUPV then lets drop setting this as well. Which
also means you can drop
binutils_branch_version as well which is fine with me.
>
> UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
>
> SRCREV ?= "7651a4871c225925ffdfda0a8c91a6ed370cd9a1"
> -BINUTILS_GIT_URI ?=
> "git://sourceware.org/git/binutils-gdb.git;branch=${BRANCH};protocol=git"
> +BINUTILS_GIT_URI ?=
> "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git"
> SRC_URI = "\
> ${BINUTILS_GIT_URI} \
> file://0004-configure-widen-the-regexp-for-SH-architectures.patch \
> --
> 2.17.1
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#150359):
https://lists.openembedded.org/g/openembedded-core/message/150359
Mute This Topic: https://lists.openembedded.org/mt/82016388/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-