[OE-core] [RFC] .la files cleanup

Richard Purdie richard.purdie at linuxfoundation.org
Mon Oct 3 11:32:40 UTC 2011


On Mon, 2011-10-03 at 14:58 +0400, Dmitry Eremin-Solenikov wrote:
> Proposal: extend some bbclass with a task to remove unused .la files
> 
> Rationale: There are lots of recipes, which install tons of .la files
> (thanks libtool),
> but then do not ship them (correctly as most of them are unused in
> real systems).
> My proposal would be to include a special task or a
> do_install_append() part that
> will remove specified .la files. (like ${libdir}/xorg/modules/*/.la,
> ${libdir}/matchbox-panel/*.la, etc.). I see this usually done in
> do_install or in special do_install_append
> parts, but I think it would be better to handle this globally.

I think the simple append to the recipes concerned is just as simple as
any addition to core classes to try and do this generically...

Cheers,

Richard








More information about the Openembedded-core mailing list