diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-22 12:07:09 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-22 12:08:10 -0700 |
commit | 457171b5b2cfd77b5bf4cc34b91b710add620ad0 (patch) | |
tree | 2353ca9538e954ddbe888d53d3c8a96f0e028094 /lib/bb/build.py | |
parent | a148e6a63c842ac586ac1dddbd9008f93cdea297 (diff) | |
download | bitbake-457171b5b2cfd77b5bf4cc34b91b710add620ad0.tar.gz |
build: pass the correct filename to better_{compile,exec}
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/build.py')
-rw-r--r-- | lib/bb/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index 4575ba3aa..fe6b4ddb5 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -178,7 +178,7 @@ logformatter = bb.msg.BBLogFormatter("%(levelname)s: %(message)s") def exec_func_python(func, d, runfile, logfile, cwd=None): """Execute a python BB 'function'""" - bbfile = d.getVar('file', True) + bbfile = d.getVar('FILE', True) olddir = os.getcwd() code = _functionfmt.format(function=func, body=d.getVar(func, True)) with open(runfile, 'w') as script: |