diff mbox series

binutils: update USE_ALTERNATIVES_FOR for symlink files

Message ID 20220911084756.10315-1-kai.kang@windriver.com
State New
Headers show
Series binutils: update USE_ALTERNATIVES_FOR for symlink files | expand

Commit Message

Kai Sept. 11, 2022, 8:47 a.m. UTC
From: Kai Kang <kai.kang@windriver.com>

It provides more binary files by binutils 2.39. Then add them to
USE_ALTERNATIVES_FOR as others to handle symlink files via
update-alternative mechanism.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/recipes-devtools/binutils/binutils.inc | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Richard Purdie Sept. 12, 2022, 2:58 p.m. UTC | #1
On Sun, 2022-09-11 at 16:47 +0800, kai wrote:
> From: Kai Kang <kai.kang@windriver.com>
> 
> It provides more binary files by binutils 2.39. Then add them to
> USE_ALTERNATIVES_FOR as others to handle symlink files via
> update-alternative mechanism.
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  meta/recipes-devtools/binutils/binutils.inc | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
> index 789c8bec21..9d33a64371 100644
> --- a/meta/recipes-devtools/binutils/binutils.inc
> +++ b/meta/recipes-devtools/binutils/binutils.inc
> @@ -47,7 +47,13 @@ USE_ALTERNATIVES_FOR = " \
>  	as \
>  	c++filt \
>  	elfedit \
> +	gp-archive \
> +	gp-collect-app \
> +	gp-display-html \
> +	gp-display-src \
> +	gp-display-text \
>  	gprof \
> +	gprofng \
>  	ld \
>  	ld.bfd \
>  	${LDGOLD_ALTS} \

This throws tons of warnings:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/4219

e.g.:

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5896/steps/12/logs/warnings

but many more.

Cheers,

Richard
Kai Sept. 14, 2022, 12:51 a.m. UTC | #2
On 9/12/22 22:58, Richard Purdie wrote:
> On Sun, 2022-09-11 at 16:47 +0800, kai wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> It provides more binary files by binutils 2.39. Then add them to
>> USE_ALTERNATIVES_FOR as others to handle symlink files via
>> update-alternative mechanism.
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>>   meta/recipes-devtools/binutils/binutils.inc | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
>> index 789c8bec21..9d33a64371 100644
>> --- a/meta/recipes-devtools/binutils/binutils.inc
>> +++ b/meta/recipes-devtools/binutils/binutils.inc
>> @@ -47,7 +47,13 @@ USE_ALTERNATIVES_FOR = " \
>>   	as \
>>   	c++filt \
>>   	elfedit \
>> +	gp-archive \
>> +	gp-collect-app \
>> +	gp-display-html \
>> +	gp-display-src \
>> +	gp-display-text \
>>   	gprof \
>> +	gprofng \
>>   	ld \
>>   	ld.bfd \
>>   	${LDGOLD_ALTS} \
> This throws tons of warnings:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/4219
>
> e.g.:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5896/steps/12/logs/warnings
>
> but many more.

OK. I'll figure it out.

Regards,
Kai

>
> Cheers,
>
> Richard
diff mbox series

Patch

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 789c8bec21..9d33a64371 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -47,7 +47,13 @@  USE_ALTERNATIVES_FOR = " \
 	as \
 	c++filt \
 	elfedit \
+	gp-archive \
+	gp-collect-app \
+	gp-display-html \
+	gp-display-src \
+	gp-display-text \
 	gprof \
+	gprofng \
 	ld \
 	ld.bfd \
 	${LDGOLD_ALTS} \