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-30 11:37:26 +0100 |
commit | 38e961ace333852c39ed7401a88366dc39c1ad45 (patch) | |
tree | dc1cdb856a90cc91f3bb40afe40812af4f7c9448 /meta/recipes-devtools/gcc | |
parent | 79a5da9eda6496f17d1b92c8e2736a3ba4cc33b0 (diff) | |
download | poky-38e961ace333852c39ed7401a88366dc39c1ad45.tar.gz |
libgcc-4.7: Package libgcov nativesdk correctly
(From OE-Core rev: 2bcc03b6787d4bb0731c047bf25c945228136e5f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.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 0370a5a56f..8eac3df435 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.7.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb | |||
@@ -1,13 +1,17 @@ | |||
1 | require gcc-${PV}.inc | 1 | require gcc-${PV}.inc |
2 | 2 | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | |||
4 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 5 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" |
5 | 6 | ||
7 | PKGSUFFIX = "" | ||
8 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
9 | |||
6 | PACKAGES = "\ | 10 | PACKAGES = "\ |
7 | ${PN} \ | 11 | ${PN} \ |
8 | ${PN}-dev \ | 12 | ${PN}-dev \ |
9 | ${PN}-dbg \ | 13 | ${PN}-dbg \ |
10 | libgcov-dev \ | 14 | libgcov${PKGSUFFIX}-dev \ |
11 | " | 15 | " |
12 | 16 | ||
13 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" | 17 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" |
@@ -15,7 +19,7 @@ FILES_${PN}-dev = " \ | |||
15 | ${base_libdir}/libgcc*.so \ | 19 | ${base_libdir}/libgcc*.so \ |
16 | ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ | 20 | ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ |
17 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" | 21 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" |
18 | FILES_libgcov-dev = " \ | 22 | FILES_libgcov${PKGSUFFIX}-dev = " \ |
19 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ | 23 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ |
20 | " | 24 | " |
21 | FILES_${PN}-dbg += "${base_libdir}/.debug/" | 25 | FILES_${PN}-dbg += "${base_libdir}/.debug/" |
@@ -62,5 +66,6 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package" | |||
62 | 66 | ||
63 | BBCLASSEXTEND = "nativesdk" | 67 | BBCLASSEXTEND = "nativesdk" |
64 | 68 | ||
65 | INSANE_SKIP_libgcc-dev = "staticdev" | 69 | INSANE_SKIP_${PN}-dev = "staticdev" |
66 | INSANE_SKIP_libgcov-dev = "staticdev" | 70 | INSANE_SKIP_libgcov${PKGSUFFIX}-dev = "staticdev" |
71 | |||