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

login
register
mail settings
Submitter Tobias Henkel
Date Nov. 12, 2013, 8:33 a.m.
Message ID <1384245243-20247-4-git-send-email-tobias.henkel@oss.bmw-carit.de>
Download mbox | patch
Permalink /patch/61477/
State Accepted
Commit 280a4922e7520b42d5f32db16d5ccb755e8c2796
Headers show

Comments

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

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"