binutils: Fix variable conflict

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.

(From OE-Core rev: 713c83fd00ab16250f05b0c3933f0c8178b8a33e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2018-09-05 09:50:57 +01:00
parent 341c0d7d82
commit bcaa35fe54

View File

@@ -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} \
nm \
objcopy \
objdump \