diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-29 20:55:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-31 14:06:23 +0100 |
commit | 8d831ca8d05304d7252161a74d6080970f218efb (patch) | |
tree | 909ee8f1046fe4db3539a78b3c87a8a689c7efc3 | |
parent | d9d742c574518d0111141d9951b751cc9dc069b3 (diff) | |
download | openembedded-core-contrib-8d831ca8d05304d7252161a74d6080970f218efb.tar.gz |
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 5 |
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 \ |