From f9cb6a4ae685c7580c7b4eb267179c0448325914 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 8 Jul 2006 12:56:31 +0000 Subject: bitbake/lib/bb/build.py: - Remove some stale inactive code --- lib/bb/build.py | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'lib/bb/build.py') 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 -- cgit 1.2.3-korg