[OE-core] [PATCH 03/26] shared_lib.bbclass: create common class

Saul Wold sgw at linux.intel.com
Tue Jul 12 18:26:32 UTC 2011


On 07/12/2011 02:13 AM, Phil Blundell wrote:
> On Tue, 2011-07-12 at 10:11 +0100, Phil Blundell wrote:
>> On Mon, 2011-07-11 at 16:13 -0700, Saul Wold wrote:
>>> This class is for packages that do not work with debian library naming
>>
>> I tend to feel that most of those packages should be fixed so that they
>> do.  If they aren't currently getting renamed then it usually means that
>> they include too much (i.e. both binaries and libraries, or multiple
>> libraries) and should be split up so that this doesn't happen.
>
> Actually, looking at the patch more carefully I guess this does
> basically address the first case above (binaries and libraries).  But it
> looks like it will result in the slightly confusing situation where the
> libraries go into lib${PN} but the corresponding headers are in
> ${PN}-dev.
>
Correct, this is trying to address the existing cases that have both 
binaries and libraries, I guess the other way to do this would be for 
those 5 or so packages to use "lib_packaging" and which renames the 
binary packages ${PN}-bin and the libraries then get auto renamed via 
debian renaming rules.

This is kind of the inverse of lib_packaging.bbclass, binaries go in 
${PN} and libraries need to be placed into the named lib${PN}.

As for headers and debug, they go in the ${PN}-[dev,dbg] packagse

I can go with Koen's name of shlibpackaging.bbclass
Sau!

> p.
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list