summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-29 19:00:56 -0700
committerKhem Raj <raj.khem@gmail.com>2018-08-29 19:00:56 -0700
commitafa33cd5432f190437035624a5574ab1a7c47f13 (patch)
tree7747b12e9b0028c8d805c870317e4451b1c8a690
parent41323c1d99de5dbf9ee55a9f4b3576d478e2016a (diff)
downloadopenembedded-core-contrib-afa33cd5432f190437035624a5574ab1a7c47f13.tar.gz
openembedded-core-contrib-afa33cd5432f190437035624a5574ab1a7c47f13.tar.bz2
openembedded-core-contrib-afa33cd5432f190437035624a5574ab1a7c47f13.zip
gdb: Seprate out gold and dwp into a variablekraj/pu-1
This is needed for riscv64 to build target binutils fixes alternatives creation Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 37813dd864..b56fcd4cd0 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 \