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 15:32:09 +0000 (15:32 +0000)
commit84f1dde717dac22435005b79d03ee0b80a3e8e62
treeb091d1f4f0b80107318bd4de5ebe27f795af9682
parent4841c1d37c503a366f99e3a134dca7440e3a08ea
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.

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