From c53e43f3c6a675c0934a7a4e358fd66b049ffca3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 17 Jan 2017 17:44:33 +0000 Subject: runqueue: Fix traceback when using -b Without this, bitbake -b of image recipes cause tracebacks since the list of providers is empty. Signed-off-by: Richard Purdie --- lib/bb/runqueue.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index d42eb8166..7e651a45d 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -567,6 +567,8 @@ class RunQueueData: for (depname, idependtask) in irdepends: if depname in taskData[mc].run_targets: # Won't be in run_targets if ASSUME_PROVIDED + if not taskData[mc].run_targets[depname]: + continue depdata = taskData[mc].run_targets[depname][0] if depdata is not None: t = depdata + ":" + idependtask -- cgit 1.2.3-korg