]> code.ossystems Code Review - openembedded-core.git/commitdiff
libgcc: Add missing dependency on libc:do_package
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jul 2012 14:28:46 +0000 (14:28 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jul 2012 09:12:08 +0000 (10:12 +0100)
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>
meta/recipes-devtools/gcc/libgcc_4.7.bb

index 55aa03c0e3dee59ab01f62f30ecfd9a7558d50cc..c796253c824879d128e3a302e6d9d750bc03626b 100644 (file)
@@ -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"