[oe] [RFC] update lib_package.bbclass

Andreas Oberritter obi at opendreambox.org
Wed Oct 20 10:50:07 UTC 2010


On 10/20/2010 09:47 AM, Koen Kooi wrote:
> On 19-10-10 20:01, Andreas Oberritter wrote:
>> So, my current proposal looks like this:
> 
>> -
>> inherit binconfig	# ... or not
> 
>> PACKAGES += "${PN}-bin"
> 
>> FILES_${PN} = "${libexecdir}/* ${libdir}/lib*${SOLIBS} \
>>             ${sysconfdir} ${sharedstatedir} ${localstatedir} \
>>             ${base_libdir}/*${SOLIBS} \
>>             ${datadir}/${PN} ${libdir}/${PN}/*"
> 
>> FILES_${PN}-bin = "${bindir}/* ${sbindir}/* \
>>                 ${base_bindir}/* ${base_sbindir}/*"
>> -
> 
> 
> How about this one:
> 
> inherit binconfig
> 
> PACKAGES =+ "${PN}-bin"
> FILES_${PN}-bin = "${bindir}/* ${sbindir}/* \
>                    ${base_bindir}* ${base_sbindir}/*"
> 
> 
> Does that work for you?

This would package ${bindir}/*-config into -bin instead of -dev.

Regards,
Andreas




More information about the Openembedded-devel mailing list