Patchwork [meta-oe,1/2] gcc-4.5: include libgcov.a into libgcc-dev package

login
register
mail settings
Submitter lumag
Date Sept. 18, 2011, 11:53 a.m.
Message ID <1316346834-11051-1-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11659/
State New, archived
Headers show

Comments

lumag - Sept. 18, 2011, 11:53 a.m.
First, this lib is usefull for coverage analysis-enabled building.
Second, this fixes the warning about unpackaged files in libgcc recipe.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 meta-oe/recipes-devtools/gcc/gcc-4.5.inc   |    2 +-
 meta-oe/recipes-devtools/gcc/libgcc_4.5.bb |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5.inc b/meta-oe/recipes-devtools/gcc/gcc-4.5.inc
index aabc1cf..a7f9480 100644
--- a/meta-oe/recipes-devtools/gcc/gcc-4.5.inc
+++ b/meta-oe/recipes-devtools/gcc/gcc-4.5.inc
@@ -14,7 +14,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
 
 PV = "4.5"
-PR = "r40"
+PR = "r41"
 
 # BINV should be incremented after updating to a revision
 # after a minor gcc release (e.g. 4.5.1 or 4.5.2) has been made
diff --git a/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb b/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb
index 8a6c96a..1579c8b 100644
--- a/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb
+++ b/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb
@@ -13,6 +13,7 @@  FILES_${PN} = "${base_libdir}/libgcc*.so.*"
 FILES_${PN}-dev = " \
   ${base_libdir}/libgcc*.so \
   ${libdir}/${TARGET_SYS}/${BINV}/crt* \
+  ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
   ${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
 
 do_fetch[noexec] = "1"