[oe-commits] [openembedded-core] 22/36: gdb: Seprate out gold and dwp into a variable

git at git.openembedded.org git at git.openembedded.org
Tue Sep 4 10:05:16 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 81a8e7addadcffc322735f3a30369d382334590b
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed Aug 29 20:55:39 2018 -0700

    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/binutils/binutils.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 37813dd..b56fcd4 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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list