From: Khem Raj Date: Thu, 30 Aug 2018 03:55:39 +0000 (-0700) Subject: gdb: Seprate out gold and dwp into a variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d831ca8d05304d7252161a74d6080970f218efb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gdb: Seprate out gold and dwp into a variable This is needed for riscv64 to build target binutils fixes alternatives creation Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 37813dd864f..b56fcd4cd01 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc @@ -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 \