summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-03-22 13:48:02 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-03-22 13:48:02 +0000
commitd278633c0bebe89ab2490856f57540fe263bb545 (patch)
treec420bbcf1b13676e4e667a996de75df5bf2102bf /bin
parente745c0f774837f15e908aca66c175df800030aa7 (diff)
downloadbitbake-d278633c0bebe89ab2490856f57540fe263bb545.tar.gz
bin/bitbake:
-Do not add handlers again. It is 'fast' enough to iterate over them in the BBHandler do not add them in bitbake again. This temporarily breaks the cache - which will be fixed shortly lib/bb/event.py: -Have a data structure that operates faster on lookups -Change register/remove to take a 'name' parameter lib/bb/parse/parse_py/BBHandler.py: -Update to the new event.register syntax
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 59caf075f..ac5a8b7e7 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -1057,9 +1057,6 @@ class BBCooker:
if not os.path.isabs(aof):
aof = os.path.join(os.path.dirname(f),aof)
files.append(aof)
- for var in bb_data.keys():
- if data.getVarFlag(var, "handler", bb_data) and data.getVar(var, bb_data):
- event.register(data.getVar(var, bb_data))
self.pkgdata[f] = bb_data
# now inform the caller