From 51abd41ff6e732ee0df61f380e4de23fdec7629a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 14 Jan 2017 14:16:44 +0000 Subject: 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 --- bitbake/lib/bb/cooker.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/cooker.py') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index a7b9745e89..80007c53de 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -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'] = {} -- cgit v1.2.3-54-g00ecf