1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

bitbake: cooker: Add BB_LIMITEDDEPS support

When we're running with bitbake -b, BB_TASKDEPDATA is incorrect and limited.
We really need a way to know this from the metadata and this new variable
provides this in worker context. This means existing code can stop having
to guess.

(Bitbake rev: 05763bc886024dcce2ce6b3060fb00abf79a9402)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2017-01-14 14:16:44 +00:00
parent 631229df72
commit 51abd41ff6
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -1409,6 +1409,7 @@ class BBCooker:
item = info_array[0].pn
self.recipecaches[mc].ignored_dependencies = set()
self.recipecaches[mc].bbfile_priority[fn] = 1
self.configuration.limited_deps = True
# Remove external dependencies
self.recipecaches[mc].task_deps[fn]['depends'] = {}
+1
View File
@@ -147,6 +147,7 @@ class CookerConfiguration(object):
self.interface = []
self.writeeventlog = False
self.server_only = False
self.limited_deps = False
self.env = {}