[OE-core] [PATCH] i2c-tools: Split binaries and library

John Ernberg john.ernberg at actia.se
Tue May 7 15:56:03 UTC 2019


Ping?

On 4/18/19 8:39 AM, John Ernberg wrote:
> 
> On 4/16/19 2:36 PM, Adrian Bunk wrote:
>> On Tue, Apr 16, 2019 at 12:02:04PM +0000, John Ernberg wrote:
>>> ...
>>> --- a/meta/recipes-devtools/i2c-tools/i2c-tools_4.1.bb
>>> +++ b/meta/recipes-devtools/i2c-tools/i2c-tools_4.1.bb
>>> ...
>>> -PACKAGES =+ "${PN}-misc"
>>> +PACKAGES =+ "${PN}-misc ${PN}-utils "
>>> ...
>> i2c-tools-utils is a weird name.
>>
>> It would be better to add a new package libi2c for the library instead.
>>
>> This would also not break backwards compatibility for people
>> already installing i2c-tools to their images.
>>
>> cu
>> Adrian
>>
> I tinkered with this and ran into the SHLIB handling where it renames 
> the packages based on libraries, are there any example recipes I can 
> look at because defining libi2c as a package with PACKAGES breaks the 
> dependency graph due to the SHLIB handling and I cannot figure out how 
> to write the recipe so that doesn't happen.
> 
> Thanks.
> 
> Best regards // John Ernberg
> 


More information about the Openembedded-core mailing list