summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2006-07-08 12:56:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2006-07-08 12:56:31 +0000
commitf9cb6a4ae685c7580c7b4eb267179c0448325914 (patch)
tree3e49c3aacf67b9897ad519d6118b7c97fb1b9f90
parent856526609b2cd88a3f272ff6f4564d877a1e8c43 (diff)
downloadbitbake-f9cb6a4ae685c7580c7b4eb267179c0448325914.tar.gz
bitbake/lib/bb/build.py:
- Remove some stale inactive code
-rw-r--r--lib/bb/build.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py
index b59473bc2..4c304754b 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -28,15 +28,6 @@ Based on functions from the base bb module, Copyright 2003 Holger Schurig
from bb import debug, data, fetch, fatal, error, note, event, mkdirhier, utils
import bb, os
-# data holds flags and function name for a given task
-_task_data = data.init()
-
-# graph represents task interdependencies
-_task_graph = bb.digraph()
-
-# stack represents execution order, excepting dependencies
-_task_stack = []
-
# events
class FuncFailed(Exception):
"""Executed function failed"""
@@ -76,13 +67,6 @@ class InvalidTask(TaskBase):
# functions
-def init(data):
- global _task_data, _task_graph, _task_stack
- _task_data = data.init()
- _task_graph = bb.digraph()
- _task_stack = []
-
-
def exec_func(func, d, dirs = None):
"""Execute an BB 'function'"""
@@ -391,6 +375,3 @@ def task_exists(task, d):
task_graph = bb.digraph()
data.setVar('_task_graph', task_graph, d)
return task_graph.hasnode(task)
-
-def get_task_data():
- return _task_data