summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-07-12 00:20:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-12 15:00:46 +0100
commit2429773613cb95b6a0541b5cce6ce1338d5cfc2b (patch)
tree90bdd5e07d3b8834488ff61de33243625621d94c /meta
parentb36f998fc7b185e67d094fe59239f7a77167a9c4 (diff)
downloadpoky-2429773613cb95b6a0541b5cce6ce1338d5cfc2b.tar.gz
gcc: Fix packaging correctly
[YOCTO #1233] This fix directly packages the contents in and adds the lib*.so correctly to the -dev package. (From OE-Core rev: d3c5f93714165e5c089ce80194f2be07e31d920c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc9
2 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index a880111cbd..56064b5f8b 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@
1require gcc-common.inc 1require gcc-common.inc
2 2
3PR = "r6" 3PR = "r8"
4 4
5# Third digit in PV should be incremented after a minor release 5# Third digit in PV should be incremented after a minor release
6# happens from this branch on gcc e.g. currently its 4.6.0 6# happens from this branch on gcc e.g. currently its 4.6.0
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index 69abf723ba..9a91a7f39f 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -14,10 +14,12 @@ FILES_${PN} = "\
14 ${bindir}/${TARGET_PREFIX}gcc \ 14 ${bindir}/${TARGET_PREFIX}gcc \
15 ${bindir}/${TARGET_PREFIX}gccbug \ 15 ${bindir}/${TARGET_PREFIX}gccbug \
16 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \ 16 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \
17 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \ 17 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \
18 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
19 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
18 ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ 20 ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
19 ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ 21 ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
20 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib* \ 22 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
21 ${gcclibdir}/${TARGET_SYS}/${BINV}/include \ 23 ${gcclibdir}/${TARGET_SYS}/${BINV}/include \
22 ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \ 24 ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
23" 25"
@@ -26,6 +28,8 @@ FILES_${PN}-dbg += "\
26" 28"
27FILES_${PN}-dev = "\ 29FILES_${PN}-dev = "\
28 ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \ 30 ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \
31 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \
32 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \
29" 33"
30FILES_${PN}-symlinks = "\ 34FILES_${PN}-symlinks = "\
31 ${bindir}/cc \ 35 ${bindir}/cc \
@@ -80,7 +84,6 @@ do_install () {
80 # Cleanup some of the ${libdir}{,exec}/gcc stuff ... 84 # Cleanup some of the ${libdir}{,exec}/gcc stuff ...
81 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools 85 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
82 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools 86 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
83 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.so
84 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la 87 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
85 88
86 # Hack around specs file assumptions 89 # Hack around specs file assumptions