base.bbclass: Get rid of "WARNING: Function do_build doesn't exist"
authorBob Foerster <robert@erafx.com>
Tue, 14 Dec 2010 07:21:01 +0000 (07:21 +0000)
committerKhem Raj <raj.khem@gmail.com>
Tue, 14 Dec 2010 06:26:01 +0000 (22:26 -0800)
Signed-off-by: Bob Foerster <robert@erafx.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
classes/base.bbclass

index ac0f388..4c27273 100644 (file)
@@ -287,6 +287,9 @@ base_do_package() {
 addtask build
 do_build = ""
 do_build[func] = "1"
+do_build() {
+       :
+}
 
 def set_multimach_arch(d):
     # 'multimachine' handling