summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
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/bb
parent36e81a844b53fed949bcf8cfc37d220c2d078a03 (diff)
downloadopenembedded-core-9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe.tar.gz
openembedded-core-9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe.tar.bz2
openembedded-core-9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe.tar.xz
openembedded-core-9ef9b5e1a7e74aec9bc68f5a8e18354247bd90fe.zip
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/bb')
-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 5e90d2218..0bf0154cb 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)