Patchwork base.bbclass: Get rid of "WARNING: Function do_build doesn't exist"

login
register
mail settings
Submitter Bob Foerster
Date Dec. 13, 2010, 11:21 p.m.
Message ID <1292282461-13310-1-git-send-email-robert@erafx.com>
Download mbox | patch
Permalink /patch/65/
State Accepted
Headers show

Comments

Bob Foerster - Dec. 13, 2010, 11:21 p.m.
Signed-off-by: Bob Foerster <robert@erafx.com>
---
 classes/base.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Chris Larson - Dec. 14, 2010, 2:27 a.m.
On Mon, Dec 13, 2010 at 4:21 PM, Bob Foerster <robert@erafx.com> wrote:
> Signed-off-by: Bob Foerster <robert@erafx.com>

Acked-by: Chris Larson <chris_larson@mentor.com>
Richard Purdie - Dec. 15, 2010, 2:28 p.m.
On Mon, 2010-12-13 at 19:27 -0700, Chris Larson wrote:
> On Mon, Dec 13, 2010 at 4:21 PM, Bob Foerster <robert@erafx.com> wrote:
> > Signed-off-by: Bob Foerster <robert@erafx.com>
> 
> Acked-by: Chris Larson <chris_larson@mentor.com>

Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cheers,

Richard

Patch

diff --git a/classes/base.bbclass b/classes/base.bbclass
index ac0f388..4c27273 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -287,6 +287,9 @@  base_do_package() {
 addtask build
 do_build = ""
 do_build[func] = "1"
+do_build() {
+       :
+}
 
 def set_multimach_arch(d):
     # 'multimachine' handling