On Fri, 2011-10-28 at 15:34 +0000, McClintock Matthew-B29882 wrote: > On Fri, Oct 28, 2011 at 3:55 AM, Richard Purdie > <richard.pur...@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}.
That logic sounds reasonable, but I think Richard's point was that it's more conventional to use "=+" rather than an override for prepending. p. _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core