[OE-core] [PATCH V3] expect: Add recipe
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Nov 4 13:31:53 UTC 2013
On Mon, 2013-11-04 at 10:01 +0000, Paul Eggleton wrote:
> On Saturday 02 November 2013 11:22:07 Saul Wold wrote:
> > > +DEPENDS = "tcl"
> > > +RDEPENDS_${PN} = "tcl"
> >
> > You don't need an RDEPENDS_${PN} if it matches with the DEPENDS
>
> For the sake of others reading, it's not as simple as that. DEPENDS is for
> build-time dependencies, RDEPENDS is for runtime dependencies; if tcl is
> needed both at build time and at runtime, and the runtime dependency isn't a
> shared library dependency, it would be valid to have both in the recipe. It
> depends on the situation.
Just to further confuse things, if you have the RDEPENDS, you don't need
the DEPENDS since bitbake can infer that...
Cheers,
Richard
More information about the Openembedded-core
mailing list