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@linuxfoundation.org>
# 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 \
gprof \
ld \
ld.bfd \
- ${LDGOLD} \
+ ${LDGOLD_ALTS} \
nm \
objcopy \
objdump \