On 4/11/21 11:03 AM, Khem Raj wrote:
> 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
i wasn't the one who dropped BINUPV. Those were already commented out via
b71294c4de binutils: Upgrade to binutils 2.32
> binutils_branch_version as well which is fine with me.
I can do V2 to clean that up.
-armin
>
>> 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 (#150391):
https://lists.openembedded.org/g/openembedded-core/message/150391
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]]
-=-=-=-=-=-=-=-=-=-=-=-