[bitbake-devel] DEPENDS vs RDEPENDS from bitbake PoV

Richard Purdie richard.purdie at linuxfoundation.org
Sat Dec 28 12:16:23 UTC 2019


On Wed, 2019-12-25 at 16:33 +0900, Masahiro Yamada wrote:
> So, DEPENDS and RDEPENDS are fundamentally the same
> from the bitbake point of view.
> Is my understanding correct?

>From that perspective, yes, they both have the same dependency
behaviour.

> I know there is slight difference between them.
> For the RDEPENDS variant, the form RDEPENDS_<pkg> is also supported.
> (<pkg> is the element in ${PACKAGES}, or ${PN} if ${PACKAGES} is
> empty).
> 
> Other than that, the functionality looks the same between
> DEPENDS and RDEPENDS.

The namespace difference is key, deptask works off DEPENDS, rdeptask of
RDEPENDS and as you mention, RDEPENDS has a relationship with PACKAGES
and RDEPENDS_<pkg>.

Cheers,

Richard



More information about the bitbake-devel mailing list