diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2012-03-23 12:31:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 12:13:07 +0000 |
commit | 74ee8de04b58e6e6924434dad417dd310f63b98d (patch) | |
tree | 54da01e42a50ba56349362fcfdcc5bfd792e45b1 /meta | |
parent | 552eea2cb10f9631d3a905b7cf1866a880b4f657 (diff) | |
download | poky-74ee8de04b58e6e6924434dad417dd310f63b98d.tar.gz |
libgcc: corrected -nativesdk package namings.
1. Corrected the -nativesdk package namings.
2. Fixed package QA warnings:
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc.a'
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc_eh.a'
(From OE-Core rev: aff0373d8bfb7e9ea600fcc558433387818c520a)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.6.bb | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index 99c30a6c7f..d40a53412e 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | require gcc-common.inc | 1 | require gcc-common.inc |
2 | 2 | ||
3 | PR = "r23" | 3 | PR = "r24" |
4 | 4 | ||
5 | # Third digit in PV should be incremented after a minor release | 5 | # Third digit in PV should be incremented after a minor release |
6 | # happens from this branch on gcc e.g. currently its 4.6.0 | 6 | # happens from this branch on gcc e.g. currently its 4.6.0 |
diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb index 04e287748a..6e557d55d2 100644 --- a/meta/recipes-devtools/gcc/libgcc_4.6.bb +++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb | |||
@@ -3,11 +3,14 @@ require gcc-${PV}.inc | |||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 4 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" |
5 | 5 | ||
6 | PKGSUFFIX = "" | ||
7 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
8 | |||
6 | PACKAGES = "\ | 9 | PACKAGES = "\ |
7 | ${PN} \ | 10 | ${PN} \ |
8 | ${PN}-dev \ | 11 | ${PN}-dev \ |
9 | ${PN}-dbg \ | 12 | ${PN}-dbg \ |
10 | libgcov-dev \ | 13 | libgcov${PKGSUFFIX}-dev \ |
11 | " | 14 | " |
12 | 15 | ||
13 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" | 16 | FILES_${PN} = "${base_libdir}/libgcc*.so.*" |
@@ -15,7 +18,7 @@ FILES_${PN}-dev = " \ | |||
15 | ${base_libdir}/libgcc*.so \ | 18 | ${base_libdir}/libgcc*.so \ |
16 | ${libdir}/${TARGET_SYS}/${BINV}/crt* \ | 19 | ${libdir}/${TARGET_SYS}/${BINV}/crt* \ |
17 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" | 20 | ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" |
18 | FILES_libgcov-dev = " \ | 21 | FILES_libgcov${PKGSUFFIX}-dev = " \ |
19 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a" | 22 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a" |
20 | 23 | ||
21 | FILES_${PN}-dbg += "${base_libdir}/.debug/" | 24 | FILES_${PN}-dbg += "${base_libdir}/.debug/" |
@@ -48,6 +51,6 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package" | |||
48 | 51 | ||
49 | BBCLASSEXTEND = "nativesdk" | 52 | BBCLASSEXTEND = "nativesdk" |
50 | 53 | ||
51 | INSANE_SKIP_libgcc-dev = "staticdev" | 54 | INSANE_SKIP_${PN}-dev = "staticdev" |
52 | INSANE_SKIP_libgcov-dev = "staticdev" | 55 | INSANE_SKIP_libgcov${PKGSUFFIX}-dev = "staticdev" |
53 | 56 | ||