summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-29 20:55:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-04 11:03:55 +0100
commit5c0f6391cf634515bc1e77a149ca0ed96916411b (patch)
tree3e767d073a21e6426fad6f2f0683093c1d9dae01 /meta/recipes-devtools/binutils
parentce5cb58f3ab17863e125b736509cfbebfdfbd193 (diff)
downloadpoky-5c0f6391cf634515bc1e77a149ca0ed96916411b.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-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 = " \
38# Rather than duplicating multiple entries for these, make one 38# Rather than duplicating multiple entries for these, make one
39# list and reuse it. 39# list and reuse it.
40 40
41LDGOLD ?= "ld.gold dwp"
42LDGOLD_riscv64 = ""
43
41USE_ALTERNATIVES_FOR = " \ 44USE_ALTERNATIVES_FOR = " \
42 addr2line \ 45 addr2line \
43 ar \ 46 ar \
@@ -47,7 +50,7 @@ USE_ALTERNATIVES_FOR = " \
47 gprof \ 50 gprof \
48 ld \ 51 ld \
49 ld.bfd \ 52 ld.bfd \
50 ld.gold dwp \ 53 ${LDGOLD} \
51 nm \ 54 nm \
52 objcopy \ 55 objcopy \
53 objdump \ 56 objdump \