summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-05 12:40:00 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 14:44:07 +0100
commit9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe (patch)
tree88cbbab4ef103c3704ef21d207421aa47d97f0d5 /bitbake/lib
parent36e81a844b53fed949bcf8cfc37d220c2d078a03 (diff)
downloadpoky-9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe.tar.gz
bitbake/build.py: Note when calling functions that don't exist. Should probably error
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/build.py1
1 files changed, 1 insertions, 0 deletions
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):
90 90
91 body = data.getVar(func, d) 91 body = data.getVar(func, d)
92 if not body: 92 if not body:
93 bb.warn("Function %s doesn't exist" % func)
93 return 94 return
94 95
95 flags = data.getVarFlags(func, d) 96 flags = data.getVarFlags(func, d)