summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.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 12:25:07 +0000
commit797a8ee040e5f5eca1973478daddb3c18fef8c5e (patch)
treeeffad3a4734b4024ce230433ca9fd1edc151ca95 /bitbake/lib/bb/command.py
parent8f8a9ef66930ef8375050e80c751dab5ba024d83 (diff)
downloadpoky-797a8ee040e5f5eca1973478daddb3c18fef8c5e.tar.gz
bitbake: cooker: allow buildFile warning to be hidden programmatically
If we want to use this function/command internally, we don't want this warning shown. (Bitbake rev: 5cfbb60833e7b12d698c1c2970c17ccf2a4971bf) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 352838b0aa..3b68c1aaa2 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -549,8 +549,12 @@ class CommandsAsync:
549 """ 549 """
550 bfile = params[0] 550 bfile = params[0]
551 task = params[1] 551 task = params[1]
552 if len(params) > 2:
553 hidewarning = params[2]
554 else:
555 hidewarning = False
552 556
553 command.cooker.buildFile(bfile, task) 557 command.cooker.buildFile(bfile, task, hidewarning)
554 buildFile.needcache = False 558 buildFile.needcache = False
555 559
556 def buildTargets(self, command, params): 560 def buildTargets(self, command, params):