diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-29 19:00:56 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-29 19:00:56 -0700 |
commit | afa33cd5432f190437035624a5574ab1a7c47f13 (patch) | |
tree | 7747b12e9b0028c8d805c870317e4451b1c8a690 | |
parent | 41323c1d99de5dbf9ee55a9f4b3576d478e2016a (diff) | |
download | openembedded-core-contrib-kraj/pu-1.tar.gz |
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.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 \ |