Patchwork [v2] binutils: Add embedspu to standard binutils package

login
register
mail settings
Submitter Saul Wold
Date Dec. 9, 2013, 10:16 p.m.
Message ID <1386627399-19027-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/63101/
State New
Headers show

Comments

Saul Wold - Dec. 9, 2013, 10:16 p.m.
This is only built for PPC, fixes the following QA Error

ERROR: QA Issue: binutils: Files/directories were installed but not shipped
  /usr/bin/embedspu

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/binutils/binutils.inc | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Patch

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 17c66bc..cf13c4f 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -18,7 +18,8 @@  inherit autotools gettext multilib_header
 FILES_${PN} = " \
 	${bindir}/${TARGET_PREFIX}* \
 	${libdir}/lib*-*.so \
-	${prefix}/${TARGET_SYS}/bin/*"
+	${prefix}/${TARGET_SYS}/bin/* \
+        ${bindir}/embedspu"
 
 RPROVIDES_${PN} += "${PN}-symlinks"
 
@@ -140,11 +141,6 @@  do_install () {
 	oe_multilib_header bfd.h
 }
 
-do_install_append_class-target_powerpc () {
-        # we dont really care about embedspu for ppc so remove it
-        rm -f ${D}/${bindir}/embedspu || :
-}
-
 inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"