diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-08-20 21:36:57 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-08-20 21:36:57 +0000 |
commit | b1bd6a2abfa177520991263efc4a5b365a625a0c (patch) | |
tree | 5343ff8765953bf209e5c2b46e8412837016c5a9 | |
parent | c32e0f52570186622d95ba78c4bb34658720817b (diff) | |
download | bitbake-b1bd6a2abfa177520991263efc4a5b365a625a0c.tar.gz |
bitbake/lib/bb/build.py:
- Add flag to disable exec_task dependency execution
-rw-r--r-- | lib/bb/build.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index e0e5246f7..f7f52e91d 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -281,8 +281,10 @@ def exec_task(task, d): event.fire(failedevent) raise EventException("Function failed in task: %s" % reason, failedevent) - # execute - task_graph.walkdown(task, execute) + if data.getVarFlag(task, 'dontrundeps', d): + execute(None, task) + else: + task_graph.walkdown(task, execute) # make stamp, or cause event and raise exception if not data.getVarFlag(task, 'nostamp', d): |