[OE-core] [PATCH v2 1/2] Add new strace-graph package to avoid making perl a dependecy for all of strace

McClintock Matthew-B29882 B29882 at freescale.com
Fri Oct 28 15:34:50 UTC 2011


On Fri, Oct 28, 2011 at 3:55 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
>> -RDEPENDS = "perl"
>> +PACKAGES_prepend = "${PN}-graph "
>> +FILES_${PN}-graph = "${bindir}/strace-graph"
>> +RDEPENDS_${PN}-graph = "perl"
>
> I should have been clearer in my original email, pretty much every other
> recipe uses += or =+ in this context. Whilst the _prepend override is
> probably ok, its probably a bit heavy in this case and the standard
> operator should work just fine.

usr/bin/strace-graph will be picked up by the default rules for ${PN}
- by prepending I thought I was letting strace-graph get picked out
first in ${PN}-graph then everything else could go in ${PN} without
having the explicitly list a new rule for ${PN}.

-M




More information about the Openembedded-core mailing list