diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-12-13 20:07:10 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-14 09:54:48 +0000 |
commit | 5cfbb60833e7b12d698c1c2970c17ccf2a4971bf (patch) | |
tree | a7f8c66f820243458a9d9c1ccfe95dbab13cf8a5 /lib/bb/command.py | |
parent | cbc22a0a9aadc8606b927dbac0f1407ec2736b35 (diff) | |
download | bitbake-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/command.py')
-rw-r--r-- | lib/bb/command.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index 352838b0a..3b68c1aaa 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -549,8 +549,12 @@ class CommandsAsync: """ bfile = params[0] task = params[1] + if len(params) > 2: + hidewarning = params[2] + else: + hidewarning = False - command.cooker.buildFile(bfile, task) + command.cooker.buildFile(bfile, task, hidewarning) buildFile.needcache = False def buildTargets(self, command, params): |