[oe] [PATCH] gcc: target gcc should include all libexec binaries, ie lto-wrapper

Martin Jansa martin.jansa at gmail.com
Wed Jun 9 13:39:39 UTC 2010


On Wed, Jun 9, 2010 at 1:17 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  recipes/gcc/gcc-package-target.inc |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/gcc/gcc-package-target.inc b/recipes/gcc/gcc-package-target.inc
> index 0676b53..32b0a48 100644
> --- a/recipes/gcc/gcc-package-target.inc
> +++ b/recipes/gcc/gcc-package-target.inc
> @@ -17,7 +17,7 @@ PACKAGES = "\
>  FILES_${PN} = "\
>   ${bindir}/${TARGET_PREFIX}gcc \
>   ${bindir}/${TARGET_PREFIX}gccbug \
> -  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \
> +  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \

I was wrong to include * here, because it steals ie cpp from cpp
package, but you get the idea.

Please comment if gcc package is right place to put lto binaries

./usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.1/lto1
./usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.1/collect2
./usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.1/lto-wrapper
is probably enough

Regards




More information about the Openembedded-devel mailing list