aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/tinfoil.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-12-13 20:07:10 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-14 09:54:48 +0000
commit5cfbb60833e7b12d698c1c2970c17ccf2a4971bf (patch)
treea7f8c66f820243458a9d9c1ccfe95dbab13cf8a5 /lib/bb/tinfoil.py
parentcbc22a0a9aadc8606b927dbac0f1407ec2736b35 (diff)
downloadbitbake-5cfbb60833e7b12d698c1c2970c17ccf2a4971bf.tar.gz
cooker: allow buildFile warning to be hidden programmatically
If we want to use this function/command internally, we don't want this warning shown. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tinfoil.py')
-rw-r--r--lib/bb/tinfoil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/tinfoil.py b/lib/bb/tinfoil.py
index 720bf4b93..96275fde7 100644
--- a/lib/bb/tinfoil.py
+++ b/lib/bb/tinfoil.py
@@ -366,9 +366,9 @@ class Tinfoil:
def build_file(self, buildfile, task):
"""
Runs the specified task for just a single recipe (i.e. no dependencies).
- This is equivalent to bitbake -b.
+ This is equivalent to bitbake -b, except no warning will be printed.
"""
- return self.run_command('buildFile', buildfile, task)
+ return self.run_command('buildFile', buildfile, task, True)
def shutdown(self):
if self.server_connection: