]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/build.py: Note when calling functions that don't exist. Should probably error
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 5 Aug 2010 11:40:00 +0000 (12:40 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 12 Aug 2010 13:44:07 +0000 (14:44 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/build.py

index 5e90d2218049a732513a1c2958dc665573f82f07..0bf0154cb434f492766aa3e908aca75a17b08d7e 100644 (file)
@@ -90,6 +90,7 @@ def exec_func(func, d, dirs = None):
 
     body = data.getVar(func, d)
     if not body:
+        bb.warn("Function %s doesn't exist" % func)
         return
 
     flags = data.getVarFlags(func, d)