diff options
-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 | |||