summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-26 21:13:21 +0100
committerSaul Wold <sgw@linux.intel.com>2011-09-27 23:54:27 -0700
commitca36a3edf9cede9fa0d73ba1a9538ab467cb5e3c (patch)
tree61720a0e533eb9b2b42f705cc95ee45fc4adc546 /meta/recipes-devtools/gcc
parentda496bb570d05d0906a7310697bdd636c254540c (diff)
downloadopenembedded-core-ca36a3edf9cede9fa0d73ba1a9538ab467cb5e3c.tar.gz
gcc: Fix two QA issues
a) There is a QA warning from a .so being present in a main package. In the case of the plugin library for gcc, this is allowed. b) Remove the unwanted libiberty.a file with the strange path. We don't need/want this and this removes an unpackaged file warning. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-sdk.inc4
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc2
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-sdk.inc b/meta/recipes-devtools/gcc/gcc-package-sdk.inc
index 8dd4ef7d3a..e2095e39fd 100644
--- a/meta/recipes-devtools/gcc/gcc-package-sdk.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-sdk.inc
@@ -19,6 +19,8 @@ FILES_${PN} = "\
${prefix}/${TARGET_SYS}/lib/* \
${prefix}/${TARGET_SYS}/usr/include/* \
"
+INSANE_SKIP_${PN} += "dev-so"
+
FILES_${PN}-doc = "\
${infodir} \
${mandir} \
@@ -40,6 +42,8 @@ do_install () {
# We use libiberty from binutils
rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
+ # Not sure where the strange paths come from
+ rm -f ${D}${libdir}/../lib/libiberty.a
rm -f ${D}${libdir}/libiberty.a
# Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index a0e5da4603..f0f1a046ff 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -24,6 +24,8 @@ FILES_${PN} = "\
${gcclibdir}/${TARGET_SYS}/${BINV}/include \
${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
"
+INSANE_SKIP_${PN} += "dev-so"
+
FILES_${PN}-dbg += "\
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug/ \
"