summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-22 12:53:36 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-22 12:53:36 +0100
commit6e277cb014a53aef66ae931b5142495f8a02404f (patch)
tree0af49e6d9209bf1de4f48d7efad86b8b885c4b92 /meta
parentf806c499c031fe0c4da001d41bce635088a90c52 (diff)
downloadpoky-6e277cb014a53aef66ae931b5142495f8a02404f.tar.gz
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 <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass3
1 files changed, 3 insertions, 0 deletions
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() {
438addtask build after do_populate_sysroot 438addtask build after do_populate_sysroot
439do_build = "" 439do_build = ""
440do_build[func] = "1" 440do_build[func] = "1"
441do_build () {
442 :
443}
441 444
442python () { 445python () {
443 import exceptions, string 446 import exceptions, string