[3/9] icecc: Reduce verbosity with empty PARALLEL_MAKE

Submitted by Tobias Henkel on Nov. 12, 2013, 8:33 a.m.

Details

Message ID 1384245243-20247-4-git-send-email-tobias.henkel@oss.bmw-carit.de
State Accepted
Commit 6d2735629c20560a9406964195726b1a6e2d7d99
Headers show

Commit Message

Tobias Henkel Nov. 12, 2013, 8:33 a.m.
From: Tobias Henkel <tobias.henkel@bmw-carit.de>

Currently the icecc class prints a note for every package which
disables parallel make at parse time. This is unneccessary as many
packages don't support parallel building. Changing the log level from
info to debug hides these messages in normal builds without removing
the information when needed.

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
---
 meta/classes/icecc.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index c4088af..eaa2aac 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -106,7 +106,7 @@  def use_icc(bb,d):
             return "no"
 
     if d.getVar('PARALLEL_MAKE') == "":
-        bb.note(package_tmp, " ", d.expand('${PV}'), " has empty PARALLEL_MAKE, disable icecc")
+        bb.debug(1, package_tmp, " ", d.expand('${PV}'), " has empty PARALLEL_MAKE, disable icecc")
         return "no"
 
     return "yes"