summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-23 14:28:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-24 10:12:08 +0100
commit4148bc80c008d25c8a536c7c7dfdeac1669a6662 (patch)
tree185e2bdb7c84546408eb68b3f9b01f4404fb875d /meta/recipes-devtools/gcc
parenta73b314c95a21e44dc584c58639a038833c9756b (diff)
downloadopenembedded-core-4148bc80c008d25c8a536c7c7dfdeac1669a6662.tar.gz
openembedded-core-4148bc80c008d25c8a536c7c7dfdeac1669a6662.tar.bz2
openembedded-core-4148bc80c008d25c8a536c7c7dfdeac1669a6662.zip
libgcc: Add missing dependency on libc:do_package
do_package writes out shlibs data and libgcc can depend on the values there. We therefore need to express the depdency so that sstate can account for it for example. Without this a version change in eglibc can "psersist" in the sstate cache and corrupt builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/libgcc_4.7.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb
index 55aa03c0e3..c796253c82 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.7.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb
@@ -64,6 +64,7 @@ do_install () {
rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include
}
+do_package[depends] += "virtual/${MLPREFIX}libc:do_package"
do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_package"
do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_package"
do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package"