From: Richard Purdie Date: Fri, 22 Oct 2010 11:53:36 +0000 (+0100) Subject: base.bbclass: Ensure an empty do_build tasks exists to silence a warning X-Git-Tag: rev_ivi_2015_02_04~24676 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=202ef86558b145ee0a816de6b06698115be7759d;p=scm%2Fbb%2Ftizen-distro.git base.bbclass: Ensure an empty do_build tasks exists to silence a warning The message "WARNING: Function do_build doesn't exist" doesn't look professional, so fix the underlying problem even if this warning is harmless. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 1547ed0..f540b58 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -438,6 +438,9 @@ base_do_package() { addtask build after do_populate_sysroot do_build = "" do_build[func] = "1" +do_build () { + : +} python () { import exceptions, string