diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-22 12:53:36 +0100 |
|---|---|---|
| committer | Saul Wold <Saul.Wold@intel.com> | 2010-10-22 11:13:12 -0700 |
| commit | b96412845dd03f76539cc2f2cdcc08ddb090e17b (patch) | |
| tree | 8c92c6dcf303db13caebf822b12597157359c28b /meta/classes | |
| parent | f0c88f220edec03c44f9d7cade2a90238ebf6cd0 (diff) | |
| download | poky-b96412845dd03f76539cc2f2cdcc08ddb090e17b.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/classes')
| -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 |
