mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
bitbake/build.py: Note when calling functions that don't exist. Should probably error
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user