[OE-core] [PATCH 4/8] binutils: Fix variable conflict
Khem Raj
raj.khem at gmail.com
Wed Sep 5 20:52:59 UTC 2018
On 9/5/18 9:52 AM, Richard Purdie wrote:
> A recent binutils patch added the LDGOLD variable but its already used
> for controlling EXTRA_OECONF options for gold. Separate the two variables
> to different names to avoid build warnings and confusion.
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> meta/recipes-devtools/binutils/binutils.inc | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
> index b56fcd4cd01..81ecbb50cc1 100644
> --- a/meta/recipes-devtools/binutils/binutils.inc
> +++ b/meta/recipes-devtools/binutils/binutils.inc
> @@ -38,8 +38,8 @@ FILES_${PN}-dev = " \
> # Rather than duplicating multiple entries for these, make one
> # list and reuse it.
>
> -LDGOLD ?= "ld.gold dwp"
> -LDGOLD_riscv64 = ""
> +LDGOLD_ALTS ?= "ld.gold dwp"
> +LDGOLD_ALTS_riscv64 = ""
>
> USE_ALTERNATIVES_FOR = " \
> addr2line \
> @@ -50,7 +50,7 @@ USE_ALTERNATIVES_FOR = " \
> gprof \
> ld \
> ld.bfd \
> - ${LDGOLD} \
> + ${LDGOLD_ALTS} \
aw my bad. Thanks for taking care of it.
> nm \
> objcopy \
> objdump \
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180905/7256914c/attachment-0002.sig>
More information about the Openembedded-core
mailing list