summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 3e2a85fc8c..9c299d45e3 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -48,6 +48,9 @@ class SignatureGenerator(object):
48 def get_unihash(self, task): 48 def get_unihash(self, task):
49 return self.taskhash[task] 49 return self.taskhash[task]
50 50
51 def postparsing_clean_cache(self):
52 return
53
51 def get_taskhash(self, fn, task, deps, dataCache): 54 def get_taskhash(self, fn, task, deps, dataCache):
52 return "0" 55 return "0"
53 56
@@ -152,6 +155,14 @@ class SignatureGeneratorBasic(SignatureGenerator):
152 for task in taskdeps: 155 for task in taskdeps:
153 d.setVar("BB_BASEHASH_task-%s" % task, self.basehash[fn + "." + task]) 156 d.setVar("BB_BASEHASH_task-%s" % task, self.basehash[fn + "." + task])
154 157
158 def postparsing_clean_cache(self):
159 #
160 # After parsing we can remove some things from memory to reduce our memory footprint
161 #
162 self.gendeps = {}
163 self.lookupcache = {}
164 self.taskdeps = {}
165
155 def rundep_check(self, fn, recipename, task, dep, depname, dataCache): 166 def rundep_check(self, fn, recipename, task, dep, depname, dataCache):
156 # Return True if we should keep the dependency, False to drop it 167 # Return True if we should keep the dependency, False to drop it
157 # We only manipulate the dependencies for packages not in the whitelist 168 # We only manipulate the dependencies for packages not in the whitelist