summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-07 15:09:24 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:34 +0000
commit9c2bcae35eb7c2a58cef2e2923019de4a4017922 (patch)
tree82df81dbfad586d18a544dfb6fcf15c99f427477 /bitbake
parentfc27334d1a26efdeab734c80c3afcd5ecbc41de7 (diff)
downloadpoky-9c2bcae35eb7c2a58cef2e2923019de4a4017922.tar.gz
Fix providerlog NameError
(Bitbake rev: 992e460f24d4da707c76d6e6d74d3684c9646279) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/taskdata.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index 7dc1c0c82f..8a8924120f 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -488,7 +488,7 @@ class TaskData:
488 missing_list = [self.build_names_index[targetid]] 488 missing_list = [self.build_names_index[targetid]]
489 else: 489 else:
490 missing_list = [self.build_names_index[targetid]] + missing_list 490 missing_list = [self.build_names_index[targetid]] + missing_list
491 providerlog.verbose("Target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.build_names_index[targetid], missing_list) 491 logger.verbose("Target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.build_names_index[targetid], missing_list)
492 self.failed_deps.append(targetid) 492 self.failed_deps.append(targetid)
493 dependees = self.get_dependees(targetid) 493 dependees = self.get_dependees(targetid)
494 for fnid in dependees: 494 for fnid in dependees:
@@ -501,7 +501,7 @@ class TaskData:
501 501
502 if self.abort and targetid in self.external_targets: 502 if self.abort and targetid in self.external_targets:
503 target = self.build_names_index[targetid] 503 target = self.build_names_index[targetid]
504 providerlog.error("Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s", target, missing_list) 504 logger.error("Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s", target, missing_list)
505 raise bb.providers.NoProvider(target) 505 raise bb.providers.NoProvider(target)
506 506
507 def remove_runtarget(self, targetid, missing_list = []): 507 def remove_runtarget(self, targetid, missing_list = []):
@@ -514,7 +514,7 @@ class TaskData:
514 else: 514 else:
515 missing_list = [self.run_names_index[targetid]] + missing_list 515 missing_list = [self.run_names_index[targetid]] + missing_list
516 516
517 providerlog.info("Runtime target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.run_names_index[targetid], missing_list) 517 logger.info("Runtime target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.run_names_index[targetid], missing_list)
518 self.failed_rdeps.append(targetid) 518 self.failed_rdeps.append(targetid)
519 dependees = self.get_rdependees(targetid) 519 dependees = self.get_rdependees(targetid)
520 for fnid in dependees: 520 for fnid in dependees: