bitbake: bitbake: Share BB_TASKDEPDATA with tasks
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Nov 2013 23:18:22 +0000 (23:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Nov 2013 23:01:33 +0000 (23:01 +0000)
commit202be03217738ab4e0c3e01401a7602f557251c2
tree5e928250952bbfd01bdfb076534006fc44316d07
parent8406ba3662a593349eaf94aaaf565e58729dd2d3
bitbake: bitbake: Share BB_TASKDEPDATA with tasks

Currently tasks have no knowledge of which other tasks they depend
upon. This makes it impossible to do at least two things which would be
desirable/interesting:

a) Have the ability to create per recipe sysroots
b) Allow the aclocal files to be present only for the entries in
   DEPENDS (directly and indirectly)

By exporting task data through this new variable, tasks can inspect
their dependencies and then take actions based upon this.

(Bitbake rev: 84f1dde717dac22435005b79d03ee0b80a3e8e62)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-worker
bitbake/lib/bb/runqueue.py