summaryrefslogtreecommitdiff
path: root/meta/classes
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/classes
parentf806c499c031fe0c4da001d41bce635088a90c52 (diff)
downloadopenembedded-core-6e277cb014a53aef66ae931b5142495f8a02404f.tar.gz
openembedded-core-6e277cb014a53aef66ae931b5142495f8a02404f.tar.bz2
openembedded-core-6e277cb014a53aef66ae931b5142495f8a02404f.zip
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/classes')
-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() {
addtask build after do_populate_sysroot
do_build = ""
do_build[func] = "1"
+do_build () {
+ :
+}
python () {
import exceptions, string