summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 2ed984d769..0133a3278f 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -199,7 +199,7 @@ class BBCooker:
199 199
200 self.inotify_modified_files = [] 200 self.inotify_modified_files = []
201 201
202 def _process_inotify_updates(server, cooker, abort): 202 def _process_inotify_updates(server, cooker, halt):
203 cooker.process_inotify_updates() 203 cooker.process_inotify_updates()
204 return 1.0 204 return 1.0
205 205
@@ -505,7 +505,7 @@ class BBCooker:
505 logger.debug("Base environment change, triggering reparse") 505 logger.debug("Base environment change, triggering reparse")
506 self.reset() 506 self.reset()
507 507
508 def runCommands(self, server, data, abort): 508 def runCommands(self, server, data, halt):
509 """ 509 """
510 Run any queued asynchronous command 510 Run any queued asynchronous command
511 This is done by the idle handler so it runs in true context rather than 511 This is done by the idle handler so it runs in true context rather than
@@ -578,7 +578,7 @@ class BBCooker:
578 if pkgs_to_build[0] in set(ignore.split()): 578 if pkgs_to_build[0] in set(ignore.split()):
579 bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0]) 579 bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0])
580 580
581 taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.abort, allowincomplete=True) 581 taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.halt, allowincomplete=True)
582 582
583 mc = runlist[0][0] 583 mc = runlist[0][0]
584 fn = runlist[0][3] 584 fn = runlist[0][3]
@@ -616,7 +616,7 @@ class BBCooker:
616 self.disableDataTracking() 616 self.disableDataTracking()
617 self.reset() 617 self.reset()
618 618
619 def buildTaskData(self, pkgs_to_build, task, abort, allowincomplete=False): 619 def buildTaskData(self, pkgs_to_build, task, halt, allowincomplete=False):
620 """ 620 """
621 Prepare a runqueue and taskdata object for iteration over pkgs_to_build 621 Prepare a runqueue and taskdata object for iteration over pkgs_to_build
622 """ 622 """
@@ -663,7 +663,7 @@ class BBCooker:
663 localdata = {} 663 localdata = {}
664 664
665 for mc in self.multiconfigs: 665 for mc in self.multiconfigs:
666 taskdata[mc] = bb.taskdata.TaskData(abort, skiplist=self.skiplist, allowincomplete=allowincomplete) 666 taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist, allowincomplete=allowincomplete)
667 localdata[mc] = data.createCopy(self.databuilder.mcdata[mc]) 667 localdata[mc] = data.createCopy(self.databuilder.mcdata[mc])
668 bb.data.expandKeys(localdata[mc]) 668 bb.data.expandKeys(localdata[mc])
669 669
@@ -737,7 +737,7 @@ class BBCooker:
737 Prepare a runqueue and taskdata object for iteration over pkgs_to_build 737 Prepare a runqueue and taskdata object for iteration over pkgs_to_build
738 """ 738 """
739 739
740 # We set abort to False here to prevent unbuildable targets raising 740 # We set halt to False here to prevent unbuildable targets raising
741 # an exception when we're just generating data 741 # an exception when we're just generating data
742 taskdata, runlist = self.buildTaskData(pkgs_to_build, task, False, allowincomplete=True) 742 taskdata, runlist = self.buildTaskData(pkgs_to_build, task, False, allowincomplete=True)
743 743
@@ -1425,7 +1425,7 @@ class BBCooker:
1425 1425
1426 # Setup taskdata structure 1426 # Setup taskdata structure
1427 taskdata = {} 1427 taskdata = {}
1428 taskdata[mc] = bb.taskdata.TaskData(self.configuration.abort) 1428 taskdata[mc] = bb.taskdata.TaskData(self.configuration.halt)
1429 taskdata[mc].add_provider(self.databuilder.mcdata[mc], self.recipecaches[mc], item) 1429 taskdata[mc].add_provider(self.databuilder.mcdata[mc], self.recipecaches[mc], item)
1430 1430
1431 if quietlog: 1431 if quietlog:
@@ -1441,11 +1441,11 @@ class BBCooker:
1441 1441
1442 rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist) 1442 rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist)
1443 1443
1444 def buildFileIdle(server, rq, abort): 1444 def buildFileIdle(server, rq, halt):
1445 1445
1446 msg = None 1446 msg = None
1447 interrupted = 0 1447 interrupted = 0
1448 if abort or self.state == state.forceshutdown: 1448 if halt or self.state == state.forceshutdown:
1449 rq.finish_runqueue(True) 1449 rq.finish_runqueue(True)
1450 msg = "Forced shutdown" 1450 msg = "Forced shutdown"
1451 interrupted = 2 1451 interrupted = 2
@@ -1487,10 +1487,10 @@ class BBCooker:
1487 Attempt to build the targets specified 1487 Attempt to build the targets specified
1488 """ 1488 """
1489 1489
1490 def buildTargetsIdle(server, rq, abort): 1490 def buildTargetsIdle(server, rq, halt):
1491 msg = None 1491 msg = None
1492 interrupted = 0 1492 interrupted = 0
1493 if abort or self.state == state.forceshutdown: 1493 if halt or self.state == state.forceshutdown:
1494 rq.finish_runqueue(True) 1494 rq.finish_runqueue(True)
1495 msg = "Forced shutdown" 1495 msg = "Forced shutdown"
1496 interrupted = 2 1496 interrupted = 2
@@ -1533,7 +1533,7 @@ class BBCooker:
1533 1533
1534 bb.event.fire(bb.event.BuildInit(packages), self.data) 1534 bb.event.fire(bb.event.BuildInit(packages), self.data)
1535 1535
1536 taskdata, runlist = self.buildTaskData(targets, task, self.configuration.abort) 1536 taskdata, runlist = self.buildTaskData(targets, task, self.configuration.halt)
1537 1537
1538 buildname = self.data.getVar("BUILDNAME", False) 1538 buildname = self.data.getVar("BUILDNAME", False)
1539 1539