projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26778d8
)
add current task to OVERRIDES during execution to facilitate "EXTRA_OEMAKE_prepend_do...
author
Phil Blundell
<philb@gnu.org>
Wed, 13 Oct 2004 19:29:07 +0000
(19:29 +0000)
committer
Phil Blundell
<philb@gnu.org>
Wed, 13 Oct 2004 19:29:07 +0000
(19:29 +0000)
bin/oe/build.py
patch
|
blob
|
history
diff --git
a/bin/oe/build.py
b/bin/oe/build.py
index
d1c2767
..
953951f
100644
(file)
--- a/
bin/oe/build.py
+++ b/
bin/oe/build.py
@@
-282,7
+282,11
@@
def exec_task(task, d):
try:
debug(1, "Executing task %s" % item)
event.fire(TaskStarted(item, d))
- exec_func(item, d)
+ from copy import deepcopy
+ localdata = deepcopy(d)
+ oe.data.setVar('OVERRIDES', "%s:%s" % (item.replace('_', '-'), oe.data.getVar('OVERRIDES', localdata)), localdata)
+ oe.data.update_data(localdata)
+ exec_func(item, localdata)
event.fire(TaskSucceeded(item, d))
task_cache.append(item)
except FuncFailed, reason: