From: Richard Purdie Date: Thu, 5 Aug 2010 11:40:00 +0000 (+0100) Subject: bitbake/build.py: Note when calling functions that don't exist. Should probably error X-Git-Tag: 2011-1~4950 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe;p=openembedded-core.git bitbake/build.py: Note when calling functions that don't exist. Should probably error Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 5e90d22180..0bf0154cb4 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -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)