diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-01-23 00:52:21 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-22 12:45:44 +0000 |
commit | 76a281c870621f5b5608d098a70504c6069ccd11 (patch) | |
tree | 424154ecbd9cff7be886487d5c5c23bc16259a87 /meta-yocto/conf | |
parent | 11a1f496304b5273a13dac0acb27815ecfcb8714 (diff) | |
download | poky-76a281c870621f5b5608d098a70504c6069ccd11.tar.gz |
bitbake: taskdata: add the ability to access world targets list
In certain circumstances it can be useful to get access to the world
targets list from a recipe in order to add dependencies on some or all
of the items in it. If a special function, 'calculate_extra_depends' is
defined in the recipe, and the recipe is to be built, then call it at
the right point before we calculate which tasks should be run. The
function can append items to the "deps" list in order to add
dependencies. This is not as tidy a solution as I would have liked, but
it does at least do the job.
As part of this change, the buildWorldTargets function was moved to
bb.providers to make it possible to call from taskdata.
Part of the implementation of [YOCTO #8600].
(Bitbake rev: aba0dce57c889495ec5c13919991a060aeff65d2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/conf')
0 files changed, 0 insertions, 0 deletions