summaryrefslogtreecommitdiff
path: root/bitbake
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
commit9d699d8dd0009d4605a825263439cdaf8e3b1064 (patch)
tree88cbbab4ef103c3704ef21d207421aa47d97f0d5 /bitbake
parent20545581a7a839f15c17ebf0e789a4f86b3ab0be (diff)
downloadtizen-distro-9d699d8dd0009d4605a825263439cdaf8e3b1064.tar.gz
tizen-distro-9d699d8dd0009d4605a825263439cdaf8e3b1064.tar.bz2
tizen-distro-9d699d8dd0009d4605a825263439cdaf8e3b1064.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')
-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):
body = data.getVar(func, d)
if not body:
+ bb.warn("Function %s doesn't exist" % func)
return
flags = data.getVarFlags(func, d)