Patchwork [v2] gcc-package-runtime.inc: Fix QA warning

login
register
mail settings
Submitter Matthew McClintock
Date July 13, 2012, 7:15 p.m.
Message ID <1342206947-22186-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/32055/
State New
Headers show

Comments

Matthew McClintock - July 13, 2012, 7:15 p.m.
> ERROR: QA Issue: gcc-runtime: Files/directories were installed but not shipped
>   /usr/lib/libgomp.so.1.0.0
>   /usr/lib/libgomp.so.1

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
v2: - use SOLIBS and SOLIBSDEV

 meta/recipes-devtools/gcc/gcc-4.7.inc             |    2 +-
 meta/recipes-devtools/gcc/gcc-package-runtime.inc |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Saul Wold - July 19, 2012, 7:45 a.m.
On 07/13/2012 12:15 PM, Matthew McClintock wrote:
>> ERROR: QA Issue: gcc-runtime: Files/directories were installed but not shipped
>>    /usr/lib/libgomp.so.1.0.0
>>    /usr/lib/libgomp.so.1
>
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
> v2: - use SOLIBS and SOLIBSDEV
>
>   meta/recipes-devtools/gcc/gcc-4.7.inc             |    2 +-
>   meta/recipes-devtools/gcc/gcc-package-runtime.inc |    3 ++-
>   2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
> index 0e40533..b3012d7 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.7.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
> @@ -1,6 +1,6 @@
>   require gcc-common.inc
>
> -PR = "r5"
> +PR = "r6"
>
>   # Third digit in PV should be incremented after a minor release
>   # happens from this branch on gcc e.g. currently its 4.7.1
> diff --git a/meta/recipes-devtools/gcc/gcc-package-runtime.inc b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
> index a81e3b7..75847b6 100644
> --- a/meta/recipes-devtools/gcc/gcc-package-runtime.inc
> +++ b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
> @@ -64,8 +64,9 @@ FILES_libmudflap-dev = "\
>     ${libdir}/libmudflap*.a \
>     ${libdir}/libmudflap*.la"
>
> +FILES_libgomp = "${libdir}/libgomp*${SOLIBS}"
>   FILES_libgomp-dev = "\
> -  ${libdir}/libgomp*.so \
> +  ${libdir}/libgomp*${SOLIBSDEV} \
>     ${libdir}/libgomp*.la \
>     ${libdir}/libgomp.spec \
>     ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h \
>
Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
index 0e40533..b3012d7 100644
--- a/meta/recipes-devtools/gcc/gcc-4.7.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -1,6 +1,6 @@ 
 require gcc-common.inc
 
-PR = "r5"
+PR = "r6"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.7.1
diff --git a/meta/recipes-devtools/gcc/gcc-package-runtime.inc b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
index a81e3b7..75847b6 100644
--- a/meta/recipes-devtools/gcc/gcc-package-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
@@ -64,8 +64,9 @@  FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
+FILES_libgomp = "${libdir}/libgomp*${SOLIBS}"
 FILES_libgomp-dev = "\
-  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*${SOLIBSDEV} \
   ${libdir}/libgomp*.la \
   ${libdir}/libgomp.spec \
   ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h \