base.bbclass: Ensure an empty do_build tasks exists to silence a warning
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 11:53:36 +0000 (12:53 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 11:53:36 +0000 (12:53 +0100)
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 <rpurdie@linux.intel.com>
meta/classes/base.bbclass

index 1547ed0..f540b58 100644 (file)
@@ -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