diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-06 23:06:42 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-06 23:06:42 +0000 |
commit | bd837ac6731d91ae815d20b161c9a9eed10675d0 (patch) | |
tree | d965fb08d57f6d9d31127fbc55ffc07d3d007128 | |
parent | 611ba5d66a11ded11b6b263cda7affd2f5e2162f (diff) | |
download | poky-bd837ac6731d91ae815d20b161c9a9eed10675d0.tar.gz |
cooker.py: Fix -g option breakage from previous commits
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3415 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | bitbake/lib/bb/cooker.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index c6597c52f9..2c091b6522 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -258,9 +258,8 @@ class BBCooker: | |||
258 | tdepends_file = file('task-depends.dot', 'w' ) | 258 | tdepends_file = file('task-depends.dot', 'w' ) |
259 | print >> depends_file, "digraph depends {" | 259 | print >> depends_file, "digraph depends {" |
260 | print >> tdepends_file, "digraph depends {" | 260 | print >> tdepends_file, "digraph depends {" |
261 | rq.prio_map.reverse() | 261 | |
262 | for task1 in range(len(rq.runq_fnid)): | 262 | for task in range(len(rq.runq_fnid)): |
263 | task = rq.prio_map[task1] | ||
264 | taskname = rq.runq_task[task] | 263 | taskname = rq.runq_task[task] |
265 | fnid = rq.runq_fnid[task] | 264 | fnid = rq.runq_fnid[task] |
266 | fn = taskdata.fn_index[fnid] | 265 | fn = taskdata.fn_index[fnid] |