aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2005-05-22 19:44:39 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2005-05-22 19:44:39 +0000
commitf39f4bfc157a682672ea549da653b29b10e3d284 (patch)
treed8c41ad737bf2f7268d4ec8ea0d4d3b92262c8d2 /lib/bb
parent8f9a755afae17c950c8478fe1fbfe18c6c153a0b (diff)
downloadbitbake-f39f4bfc157a682672ea549da653b29b10e3d284.tar.gz
bitbake/lib/bb/make.py:
Pass more data to the parsing progressCallBack. We will soon use this data to eliminate the long delay before building. bitbake/bin/bitbake: Just change the signature of the callback method for now. We will soon keep the 'parsing status' in a instance we will fill while parsing and only evaluate in build_depgraph
Diffstat (limited to 'lib/bb')
-rw-r--r--lib/bb/make.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/make.py b/lib/bb/make.py
index f7235f415..424569d30 100644
--- a/lib/bb/make.py
+++ b/lib/bb/make.py
@@ -154,7 +154,6 @@ def collect_bbfiles( progressCallback ):
bb.debug(1, "bbmake: skipping %s" % f)
masked += 1
continue
- progressCallback( i + 1, len( newfiles ), f )
debug(1, "bbmake: parsing %s" % f)
# read a file's metadata
@@ -177,6 +176,9 @@ def collect_bbfiles( progressCallback ):
if data.getVarFlag(var, "handler", bb_data) and data.getVar(var, bb_data):
event.register(data.getVar(var, bb_data))
pkgdata[f] = bb_data
+
+ # now inform the caller
+ progressCallback( i + 1, len( newfiles ), f, bb_data, fromCache )
except IOError, e:
bb.error("opening %s: %s" % (f, e))
pass