Skip to contentSkip to conversation

some (admittedly dopey) questions about dependencies

DISCUSSION Robert P. J. Day 1 participant 1 message Aug 11, 2014

lore
Share & tools
lore
#0 lore raw

digging thru bitbake manual, as well as the code in runqueue.py, so
some questions about the niggling details regarding dependencies.

first, what does "recrdeptask" stand for? yes, i realize it refers
to "recursive" dependencies, but what's with the leading "recr"? does that represent recursive "recr" deptasks, or recursive "rec" rdeptasks? or what? knowing what it's short for always helps.

next, i see five types of dependencies being processed in that code
in the prepare() method:

* tdepends: internal task dependencies (based on addtask)
* deptask: build-time dependencies
* rdeptask: run-time dependencies
* idepends: inter-task dependencies
* recrdeptask: recursive dependencies

and i am still unclear on what recrdeptask represents: the comment in that file reads:

  # e.g. do_sometask[recrdeptask] = "do_someothertask"
  # (makes sure sometask runs after someothertask of all DEPENDS,
    RDEPENDS and intertask dependencies, recursively)

is that description correct? how does it relate to inter-task dependencies, which explicitly list the name of the other task? anyway, if someone can clarify that, that would be ducky.

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
========================================================================