summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-03-23 08:19:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-30 11:37:26 +0100
commit38e961ace333852c39ed7401a88366dc39c1ad45 (patch)
treedc1cdb856a90cc91f3bb40afe40812af4f7c9448 /meta/recipes-devtools
parent79a5da9eda6496f17d1b92c8e2736a3ba4cc33b0 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-devtools/gcc/libgcc_4.7.bb13
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 @@
1require gcc-${PV}.inc 1require gcc-${PV}.inc
2 2
3INHIBIT_DEFAULT_DEPS = "1" 3INHIBIT_DEFAULT_DEPS = "1"
4
4DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 5DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
5 6
7PKGSUFFIX = ""
8PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
9
6PACKAGES = "\ 10PACKAGES = "\
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
13FILES_${PN} = "${base_libdir}/libgcc*.so.*" 17FILES_${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*"
18FILES_libgcov-dev = " \ 22FILES_libgcov${PKGSUFFIX}-dev = " \
19 ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ 23 ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
20 " 24 "
21FILES_${PN}-dbg += "${base_libdir}/.debug/" 25FILES_${PN}-dbg += "${base_libdir}/.debug/"
@@ -62,5 +66,6 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package"
62 66
63BBCLASSEXTEND = "nativesdk" 67BBCLASSEXTEND = "nativesdk"
64 68
65INSANE_SKIP_libgcc-dev = "staticdev" 69INSANE_SKIP_${PN}-dev = "staticdev"
66INSANE_SKIP_libgcov-dev = "staticdev" 70INSANE_SKIP_libgcov${PKGSUFFIX}-dev = "staticdev"
71