summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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