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
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 14:58:49 +0100
commit2829e21efc70e7fc7092ff4dcd1cbb8f168983d9 (patch)
treec009858c9e526ab454d822f88983d1ef64d7fca5 /meta/recipes-devtools/gcc
parent4833772c5fed1905404b50a832303f579c316d21 (diff)
downloadpoky-2829e21efc70e7fc7092ff4dcd1cbb8f168983d9.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. (From OE-Core rev: ca36a3edf9cede9fa0d73ba1a9538ab467cb5e3c) 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} = "\
19 ${prefix}/${TARGET_SYS}/lib/* \ 19 ${prefix}/${TARGET_SYS}/lib/* \
20 ${prefix}/${TARGET_SYS}/usr/include/* \ 20 ${prefix}/${TARGET_SYS}/usr/include/* \
21 " 21 "
22INSANE_SKIP_${PN} += "dev-so"
23
22FILES_${PN}-doc = "\ 24FILES_${PN}-doc = "\
23 ${infodir} \ 25 ${infodir} \
24 ${mandir} \ 26 ${mandir} \
@@ -40,6 +42,8 @@ do_install () {
40 42
41 # We use libiberty from binutils 43 # We use libiberty from binutils
42 rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a 44 rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
45 # Not sure where the strange paths come from
46 rm -f ${D}${libdir}/../lib/libiberty.a
43 rm -f ${D}${libdir}/libiberty.a 47 rm -f ${D}${libdir}/libiberty.a
44 48
45 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are 49 # 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} = "\
24 ${gcclibdir}/${TARGET_SYS}/${BINV}/include \ 24 ${gcclibdir}/${TARGET_SYS}/${BINV}/include \
25 ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \ 25 ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
26" 26"
27INSANE_SKIP_${PN} += "dev-so"
28
27FILES_${PN}-dbg += "\ 29FILES_${PN}-dbg += "\
28 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug/ \ 30 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/.debug/ \
29" 31"