Patchwork [v2] binutils: remove embedspu

login
register
mail settings
Submitter Saul Wold
Date Nov. 6, 2013, 11:31 p.m.
Message ID <1383780719-21615-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/61221/
State New
Headers show

Comments

Saul Wold - Nov. 6, 2013, 11:31 p.m.
This is only built for PPC and not needed, so remove it to fix the QA Issue

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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
v2: fix spelling and add powerpc override

 meta/recipes-devtools/binutils/binutils_2.23.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/meta/recipes-devtools/binutils/binutils_2.23.2.bb b/meta/recipes-devtools/binutils/binutils_2.23.2.bb
index 1523e87..c8c77a0 100644
--- a/meta/recipes-devtools/binutils/binutils_2.23.2.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.23.2.bb
@@ -10,6 +10,12 @@  EXTRA_OECONF += "--with-sysroot=/ \
 
 EXTRA_OECONF_class-native = "--enable-targets=all --enable-64-bit-bfd --enable-install-libbfd"
 
+do_install_append_class-target_powerpc () {
+        # we dont really care about embedspu for ppc so remove it
+        rm -f ${D}/${bindir}/embedspu || :
+}
+
+
 do_install_class-native () {
 	autotools_do_install