diff options
author | Chris Larson <clarson@kergoth.com> | 2005-01-17 19:36:04 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2005-01-17 19:36:04 +0000 |
commit | 7f42f65bf5a8ac20e72f14c7eb0270287ff3ef4d (patch) | |
tree | 96ebeafa46add15be8556d1111c81c5644e8855d /lib/bb/build.py | |
parent | b52facd926218af09c61c0ce7ea1c3358f0d8292 (diff) | |
download | bitbake-7f42f65bf5a8ac20e72f14c7eb0270287ff3ef4d.tar.gz |
As recommended by pb_ and RP, prepend the task name with 'task_' when mangling OVERRIDES in bb.data.exec_task().
Diffstat (limited to 'lib/bb/build.py')
-rw-r--r-- | lib/bb/build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index fb52a1527..d6f2e97b3 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -55,6 +55,7 @@ class EventException(Exception): event = property(getEvent, setEvent, None, "event property") + class TaskBase(event.Event): """Base class for task events""" @@ -297,7 +298,7 @@ def exec_task(task, d): old_overrides = data.getVar('OVERRIDES', d, 0) from copy import deepcopy localdata = deepcopy(d) - data.setVar('OVERRIDES', '%s:%s' % (item, old_overrides), localdata) + data.setVar('OVERRIDES', 'task_%s:%s' % (item, old_overrides), localdata) data.update_data(localdata) event.fire(TaskStarted(item, localdata)) exec_func(item, localdata) |