Skip to contentSkip to conversation

should all RDEPENDS always have an attached package name?

DISCUSSION Robert P. J. Day 2 participants 3 messages Aug 11, 2014

lore
Share & tools
lore
#0 lore raw

according to yocto ref manual, all uses of RDEPENDS should be
suffixed with a package name (normally, _${PN}, of course), but i just noticed that the buildtools-tarball.bb recipe file contains:

  RDEPENDS = "${TOOLCHAIN_HOST_TASK}"

i suspect that still works just fine, but it does disagree with the rather adamant admonition in the ref manual.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 8 lines · Robert P. J. Day

according to yocto ref manual, all uses of RDEPENDS should be
suffixed with a package name (normally, _${PN}, of course), but i just noticed that the buildtools-tarball.bb recipe file contains:

  RDEPENDS = "${TOOLCHAIN_HOST_TASK}"

i suspect that still works just fine, but it does disagree with the rather adamant admonition in the ref manual.

The buildtools-tarball doesn't have any packages so in this particular case, it is acceptable (and accepted by bitbake and the QA tests).

Cheers,

Richard

#2 lore raw
Quoted 5 lines · Richard Purdie
Quoted 4 lines · Robert P. J. Day

according to yocto ref manual, all uses of RDEPENDS should be
suffixed with a package name (normally, _${PN}, of course), but i just noticed that the buildtools-tarball.bb recipe file contains:

Quoted 8 lines
Quoted 4 lines
  RDEPENDS = "${TOOLCHAIN_HOST_TASK}"

i suspect that still works just fine, but it does disagree with the rather adamant admonition in the ref manual.

The buildtools-tarball doesn't have any packages so in this particular case, it is acceptable (and accepted by bitbake and the QA tests).

ah, i should have realized this was a special case.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================