diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-03 23:20:15 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:21 +0000 |
commit | 483f85802a97cb9ad4d958c29458db91acc7809f (patch) | |
tree | e67948401b16ef7d75cd88857139fd2b00af26df /bitbake/lib/bb/parse/parse_py | |
parent | c2b5a617285733053f867c3fdda2179a65ccbe4c (diff) | |
download | poky-483f85802a97cb9ad4d958c29458db91acc7809f.tar.gz |
bitbake: Sync various functions with those from bitbake-dev and bitbake upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 03976d4d8c..76b917ca5d 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -88,7 +88,7 @@ def finalise(fn, d): | |||
88 | from bb import build | 88 | from bb import build |
89 | try: | 89 | try: |
90 | t = data.getVar('T', d) | 90 | t = data.getVar('T', d) |
91 | data.setVar('T', '${TMPDIR}/', d) | 91 | data.setVar('T', '${TMPDIR}/anonfunc/', d) |
92 | anonfuncs = data.getVar('__BBANONFUNCS', d) or [] | 92 | anonfuncs = data.getVar('__BBANONFUNCS', d) or [] |
93 | code = "" | 93 | code = "" |
94 | for f in anonfuncs: | 94 | for f in anonfuncs: |
@@ -114,6 +114,8 @@ def finalise(fn, d): | |||
114 | tasklist = data.getVar('__BBTASKS', d) or [] | 114 | tasklist = data.getVar('__BBTASKS', d) or [] |
115 | bb.build.add_tasks(tasklist, d) | 115 | bb.build.add_tasks(tasklist, d) |
116 | 116 | ||
117 | bb.event.fire(bb.event.RecipeParsed(fn, d)) | ||
118 | |||
117 | 119 | ||
118 | def handle(fn, d, include = 0): | 120 | def handle(fn, d, include = 0): |
119 | global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__ | 121 | global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__ |