From 6e277cb014a53aef66ae931b5142495f8a02404f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 22 Oct 2010 12:53:36 +0100 Subject: 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 --- meta/classes/base.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 1547ed0305..f540b58fbb 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 -- cgit v1.2.3-54-g00ecf