gdb: Seprate out gold and dwp into a variable

This is needed for riscv64 to build target binutils fixes alternatives
creation

(From OE-Core rev: 81a8e7addadcffc322735f3a30369d382334590b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2018-08-29 20:55:39 -07:00 committed by Richard Purdie
parent ce5cb58f3a
commit 5c0f6391cf

View File

@ -38,6 +38,9 @@ FILES_${PN}-dev = " \
# Rather than duplicating multiple entries for these, make one
# list and reuse it.
LDGOLD ?= "ld.gold dwp"
LDGOLD_riscv64 = ""
USE_ALTERNATIVES_FOR = " \
addr2line \
ar \
@ -47,7 +50,7 @@ USE_ALTERNATIVES_FOR = " \
gprof \
ld \
ld.bfd \
ld.gold dwp \
${LDGOLD} \
nm \
objcopy \
objdump \