[OE-core] [CONSOLIDATED PULL 19/19] gcc-package-target: add libexec for plugins

Richard Purdie richard.purdie at linuxfoundation.org
Tue May 1 13:17:50 UTC 2012


On Mon, 2012-04-30 at 15:21 -0700, Saul Wold wrote:
> Fixes:
> 
> ERROR: For recipe gcc, the following files/directories were installed but not shipped in any package:
> ERROR:   /usr/libexec/gcc/i586-poky-linux/4.7.1/plugin/gengtype
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  meta/recipes-devtools/gcc/gcc-4.7.inc            |    2 +-
>  meta/recipes-devtools/gcc/gcc-package-target.inc |   11 ++++-------
>  2 files changed, 5 insertions(+), 8 deletions(-)

Saul, this patch does other things in addition to what is described
above. Why?

Cheers,

Richard


> diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
> index 784a3be..8adeb8d 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 = "r0"
> +PR = "r1"
>  
>  # Third digit in PV should be incremented after a minor release
>  # happens from this branch on gcc e.g. currently its 4.7.0
> diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
> index d58e001..392dfc4 100644
> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
> @@ -1,5 +1,5 @@
>  PACKAGES = "\
> -  ${PN} ${PN}-plugins ${PN}-symlinks \
> +  ${PN} ${PN}-symlinks \
>    g++ g++-symlinks \
>    cpp cpp-symlinks \
>    g77 g77-symlinks \
> @@ -36,20 +36,17 @@ FILES_${PN}-dev = "\
>  "
>  FILES_${PN}-plugin-dev = "\
>    ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \
> -  ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gengtype \
>    ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \
> +  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \
>  "
> +ALLOW_EMPTY_${PN}-plugin-dev = "1"
> +
>  FILES_${PN}-symlinks = "\
>    ${bindir}/cc \
>    ${bindir}/gcc \
>    ${bindir}/gccbug \
>  "
>  
> -FILES_${PN}-plugins = "\
> -  ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \
> -"
> -ALLOW_EMPTY_${PN}-plugins = "1"
> -
>  FILES_g77 = "\
>    ${bindir}/${TARGET_PREFIX}g77 \
>    ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \






More information about the Openembedded-core mailing list