[OE-core] [PATCH] binconfig: don't try to fix up .la files

Khem Raj raj.khem at gmail.com
Tue Jun 18 15:51:21 UTC 2019


On Tue, Jun 18, 2019 at 3:47 AM Ross Burton <ross.burton at intel.com> wrote:
>
> If we're going to clean buildpaths from installed .la files then we should do it
> globally, not in a class that only six recipes in oe-core use.
>

while I agree, are there assumptions in the recipes using binconfig on this ?
especially packages outside oe-core ?

> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/classes/binconfig.bbclass | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
> index 133b9537cf0..9112ed46085 100644
> --- a/meta/classes/binconfig.bbclass
> +++ b/meta/classes/binconfig.bbclass
> @@ -40,15 +40,6 @@ binconfig_package_preprocess () {
>                     -e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \
>                      $config
>         done
> -       for lafile in `find ${PKGD} -type f -name "*.la"` ; do
> -               sed -i \
> -                   -e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \
> -                   -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
> -                   -e 's:${STAGING_INCDIR}:${includedir}:g;' \
> -                   -e 's:${STAGING_DATADIR}:${datadir}:' \
> -                   -e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \
> -                   $lafile
> -       done
>  }
>
>  SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess"
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list