From: Paul Eggleton Date: Tue, 22 Sep 2015 16:21:20 +0000 (+0100) Subject: classes/externalsrc: scale back warning to a plain note X-Git-Tag: 2015-10~330 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=87bedd137a77c5ac0033a1de4587c40dbe93e81d;p=openembedded-core.git classes/externalsrc: scale back warning to a plain note It turns out that there are folks out there who use externalsrc in normal builds and don't really need to be warned; additionally within the extensible SDK or when using devtool, it shouldn't be a warning situation. Thus, scale it back to a note (we can't use bb.note() here since that wouldn't actually be piped through to the bitbake UI). Also touch up the message a little bit. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 0fa5817d9a..70e6fd76b3 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass @@ -88,5 +88,5 @@ python () { python externalsrc_compile_prefunc() { # Make it obvious that this is happening, since forgetting about it could lead to much confusion - bb.warn('Compiling %s from external source %s' % (d.getVar('PN', True), d.getVar('EXTERNALSRC', True))) + bb.plain('NOTE: %s: compiling from external source tree %s' % (d.getVar('PN', True), d.getVar('EXTERNALSRC', True))) }