Patchwork binutils: Package additional file when using ld-is-gold

login
register
mail settings
Submitter Khem Raj
Date Feb. 4, 2014, 2:12 a.m.
Message ID <1391479939-8259-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/66297/
State New
Headers show

Comments

Khem Raj - Feb. 4, 2014, 2:12 a.m.
Fixes QA warnings like

WARNING: QA Issue: binutils: Files/directories were installed but not
shipped
  /usr/bin/ld.bfd
  /usr/bin/dwp

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/binutils/binutils.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index b6c9205..6380d54 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -40,7 +40,8 @@  USE_ALTERNATIVES_FOR = " \
 	elfedit \
 	gprof \
 	ld \
-	${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld.gold', 'ld.bfd', d)} \
+	ld.bfd \
+	${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld.gold dwp', '', d)} \
 	nm \
 	objcopy \
 	objdump \