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>
This commit is contained in:
Richard Purdie 2010-10-22 12:53:36 +01:00 committed by Saul Wold
parent f0c88f220e
commit b96412845d

View 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