diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-22 12:53:36 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-22 12:53:36 +0100 |
commit | 6e277cb014a53aef66ae931b5142495f8a02404f (patch) | |
tree | 0af49e6d9209bf1de4f48d7efad86b8b885c4b92 /meta | |
parent | f806c499c031fe0c4da001d41bce635088a90c52 (diff) | |
download | poky-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.bbclass | 3 |
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() { | |||
438 | addtask build after do_populate_sysroot | 438 | addtask build after do_populate_sysroot |
439 | do_build = "" | 439 | do_build = "" |
440 | do_build[func] = "1" | 440 | do_build[func] = "1" |
441 | do_build () { | ||
442 | : | ||
443 | } | ||
441 | 444 | ||
442 | python () { | 445 | python () { |
443 | import exceptions, string | 446 | import exceptions, string |