From bd4e2cd3f70243f52215f8c92bcd7eb088a9b9f6 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 18 Jun 2019 11:47:35 +0100 Subject: binconfig: don't try to fix up .la files 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/binconfig.bbclass | 9 --------- 1 file changed, 9 deletions(-) diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass index 133b9537cf..9112ed4608 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" -- cgit 1.2.3-korg