diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2009-02-17 17:28:09 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2009-02-17 17:28:09 +0100 |
commit | dd9f28f3c110721a1ff61e0ff60060501d75d9f9 (patch) | |
tree | 590e04b0355130eba35cc787bd3c56dd1fe8775a | |
parent | e23256b41bb0e8d002182dde119f4a21bb5953b9 (diff) |
base.bbclass: output messages only if BitBake 1.8 is used (from Poky)
before (with BitBake trunk):
NOTE: package linux-2.6.28-r4: task do_compile: started
NOTE: package linux-2.6.28-r4: task do_compile: Started
after:
NOTE: package linux-2.6.28-r4: task do_compile: Started
-rw-r--r-- | classes/base.bbclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 411adc95d0..18afc1a2fe 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -873,8 +873,12 @@ python base_eventhandler() { msg += messages.get(name[5:]) or name[5:] elif name == "UnsatisfiedDep": msg += "package %s: dependency %s %s" % (e.pkg, e.dep, name[:-3].lower()) - if msg: - note(msg) + + # Only need to output when using 1.8 or lower, the UI code handles it + # otherwise + if (int(bb.__version__.split(".")[0]) <= 1 and int(bb.__version__.split(".")[1]) <= 8): + if msg: + note(msg) if name.startswith("BuildStarted"): bb.data.setVar( 'BB_VERSION', bb.__version__, e.data ) |