[oe-commits] Paul Eggleton : classes/externalsrc: scale back warning to a plain note

git at git.openembedded.org git at git.openembedded.org
Tue Sep 22 17:14:21 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 87bedd137a77c5ac0033a1de4587c40dbe93e81d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=87bedd137a77c5ac0033a1de4587c40dbe93e81d

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Tue Sep 22 17:21:20 2015 +0100

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 <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/externalsrc.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 0fa5817..70e6fd7 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)))
 }



More information about the Openembedded-commits mailing list