summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 303ce02b00..65ebdc2b78 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -415,12 +415,15 @@ class Tinfoil:
415 else: 415 else:
416 return None 416 return None
417 417
418 def build_file(self, buildfile, task): 418 def build_file(self, buildfile, task, internal=True):
419 """ 419 """
420 Runs the specified task for just a single recipe (i.e. no dependencies). 420 Runs the specified task for just a single recipe (i.e. no dependencies).
421 This is equivalent to bitbake -b, except no warning will be printed. 421 This is equivalent to bitbake -b, except with the default internal=True
422 no warning about dependencies will be produced, normal info messages
423 from the runqueue will be silenced and BuildInit, BuildStarted and
424 BuildCompleted events will not be fired.
422 """ 425 """
423 return self.run_command('buildFile', buildfile, task, True) 426 return self.run_command('buildFile', buildfile, task, internal)
424 427
425 def shutdown(self): 428 def shutdown(self):
426 if self.server_connection: 429 if self.server_connection: