binconfig: don't try to fix up .la files
PATCH 1/1 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.
--- meta/classes/binconfig.bbclass | 9 --------- 1 file changed, 9 deletions(-)
meta/classes/binconfig.bbclass +0 -9
@@ -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"
Signature · 1 line
2.11.0
Quoted 4 lines · Ross Burton
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 ?
Quoted 33 lines
Signed-off-by Ross Burton <[email protected]>--- meta/classes/binconfig.bbclass | 9 --------- 1 file changed, 9 deletions(-)meta/classes/binconfig.bbclass +0
-10@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 2 lines · Khem Raj
while I agree, are there assumptions in the recipes using binconfig on this ? especially packages outside oe-core ?
I suspect that everyone is using remove-libtool, because that's one of the default inherits.
Ross
Quoted 8 lines · Ross
Quoted 2 lines · Khem Raj
while I agree, are there assumptions in the recipes using binconfig on this ? especially packages outside oe-core ?
I suspect that everyone is using remove-libtool, because that's one of the default inherits.
I see, that makes sense. So it was just redundant then
Quoted 1 line
Ross