diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-03-23 08:19:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-26 14:48:50 +0100 |
commit | 2bcc03b6787d4bb0731c047bf25c945228136e5f (patch) | |
tree | 27fb1cf9662e2c542291a54168295aa1d6379d1b /meta/recipes-devtools | |
parent | a84c097cc7c52a856601e546880440d9375b0e30 (diff) | |
download | openembedded-core-2bcc03b6787d4bb0731c047bf25c945228136e5f.tar.gz openembedded-core-2bcc03b6787d4bb0731c047bf25c945228136e5f.tar.bz2 openembedded-core-2bcc03b6787d4bb0731c047bf25c945228136e5f.tar.xz openembedded-core-2bcc03b6787d4bb0731c047bf25c945228136e5f.zip |
libgcc-4.7: Package libgcov nativesdk correctly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.7.bb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb index 0370a5a56..8eac3df43 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.7.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb @@ -1,13 +1,17 @@ require gcc-${PV}.inc INHIBIT_DEFAULT_DEPS = "1" + DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" +PKGSUFFIX = "" +PKGSUFFIX_virtclass-nativesdk = "-nativesdk" + PACKAGES = "\ ${PN} \ ${PN}-dev \ ${PN}-dbg \ - libgcov-dev \ + libgcov${PKGSUFFIX}-dev \ " FILES_${PN} = "${base_libdir}/libgcc*.so.*" @@ -15,7 +19,7 @@ FILES_${PN}-dev = " \ ${base_libdir}/libgcc*.so \ ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" -FILES_libgcov-dev = " \ +FILES_libgcov${PKGSUFFIX}-dev = " \ ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ " FILES_${PN}-dbg += "${base_libdir}/.debug/" @@ -62,5 +66,6 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package" BBCLASSEXTEND = "nativesdk" -INSANE_SKIP_libgcc-dev = "staticdev" -INSANE_SKIP_libgcov-dev = "staticdev" +INSANE_SKIP_${PN}-dev = "staticdev" +INSANE_SKIP_libgcov${PKGSUFFIX}-dev = "staticdev" + |