]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: remove embedspu
authorSaul Wold <sgw@linux.intel.com>
Wed, 6 Nov 2013 21:56:12 +0000 (13:56 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Nov 2013 17:24:52 +0000 (17:24 +0000)
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>
meta/recipes-devtools/binutils/binutils.inc

index 782fc2dfb80422f8881c473c08cd930d18c16839..457577447fb49a246652bfa1c12c2f680676ed5e 100644 (file)
@@ -140,6 +140,11 @@ 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"